Skip to content

Limits

What a document and a view model cannot do. Most limits come with a way around them. This page says what is possible or not here; for things going wrong, see Troubleshooting.

Binding

  • An expression reads a model by <model>.<Field> (Other models). :value, :checked and an event assignment write the model its first name names (Forms).
  • Expressions cannot build arrays or loop counts. Use a fixed cell per index.
  • :if and :for on one element: an error is logged and :for is kept. Nest two elements. The validator reports it as structural-conflict (Validation).
  • :if rebuilds its branch on every change from false to true, so focus, scroll and hover state inside it are lost.
  • data-action needs a :model on the <body> of the document or the tab; without it a click warns and does nothing. close and open:<package path> are the exception: they work without one.
  • A write needs a field Blueprint may write. :value, :checked and an event assignment write a BlueprintReadWrite field; a BlueprintReadOnly one is refused with an error and a read-only-field validator warning. Call a function instead (View models). A write never calls a BlueprintSetter function, an FText field takes the string as plain text (no table key), and a whole list or struct cannot be written. A preview model keeps a write in the UI only.
  • A virtual list (:virtual) needs a parent that scrolls vertically and rows of one size; a row that leaves the window loses focus, hover and animations, and its two spacer elements count in :nth-child (Data binding).
  • :rml escapes nothing: markup in the string becomes elements, so never put text a player typed in it (Data binding).
  • Local state is lost when its element is rebuilt (:if, a keyed row rebuilt out of order, a virtual-list row leaving the window) and is not kept across a reload; this holds for components, views and screens (Local state).
  • A placed view has no props, slots or style isolation. A given model needs one whole-value {{ path }} on the import; the view's <script>, <meta> and <title> are ignored (Place a view).
  • An alias is resolved once, when its element is created, and a model variable of the same name hides it (Data binding).

Input and focus

  • Tab moves nothing in a document with focus areas, except in a focused text field. Arrows move focus (Navigation).
  • A non-form element needs tab-index: auto; nav: auto to take focus by arrow; without nav an arrow does nothing and sends no navnotarget, the event for an arrow that finds no target (Navigation).
  • Duplicate hotkeys and cycles: the one on the focus chain wins, else the first visible one in the focused area, then in the document, with no diagnostic (Navigation).
  • A text field types from the moment it takes focus; pad back ends typing, and Left and Right at the ends of the caret move focus (Text fields).
  • A drag is cancelled when its source or an ancestor is removed (a :if turning false), the pointer capture is lost or a new press arrives (Drag and drop).

Style

  • A leave animation is cut off after LeaveTimeoutSeconds (default 0.5 s; Leave Timeout Seconds in Project Settings > Game > ArcRmlUI, see Settings), and @starting-style rules are dropped (Styling).
  • pulse:* does not pulse on the first value or in a view created by the change; use keyed rows in a :for (Styling).
  • Only the whole text of an element is localized: no child element or {{ }} in a loc element, and no text in an attribute (Localization).
  • Part of CSS is not supported: position: sticky, columns, clip-path and others are dropped with a warning. Find the way around in CSS support and Tailwind CSS.
  • :world places the element from the screen origin: its own layout position must be the top-left corner, and a transform of your own goes on a child (World markers).

Lifecycle

  • A tab is isolated from its frame: frame rules and custom properties do not reach into it, and its :root and html rules refer to the tab. A :if that rebuilds the frame's arc-embed drops the kept tabs (Frames and tabs).
  • A parked document stays until a discard: there is no eviction, and DiscardDocument is C++ only (Keep-alive and preload).

Document widget

The document widget in a Widget Blueprint:

  • Mouse only: no keyboard, gamepad or focus handling.
  • No frame or tabs, and no keep-alive.
  • No size of its own: the document takes the slot's size, so a slot sized to its content shows nothing.
  • Below a layer document it gets no pointer input: add it above the layers.

Platform

  • No accessibility support: a document exposes nothing to a screen reader or the Slate accessibility system, and there is no text size setting of its own. The size option is the UI scale, which scales px for every document (Screen size, cursor and players).
  • Split-screen is not supported yet, and has not been run. Each local player has its own layers and documents, but the DPI scale that sizes px comes from the whole viewport, not from that player's part of the screen (Screen size, cursor and players).
  • The runtime is Win64 only for now. Other platforms are not supported yet.