Overlay accepts only a literal
The message
MARKLESS_OVERLAY_VALUE_UNSUPPORTED: <bound>. overlay must be written on the element itself as bare `overlay`, `overlay={true}`, or `overlay={false}`.
Elevation is structural, not reactive. The overlay record carries no inputs, so it has no dependencies and can never re-run; a value that varies at runtime would have nothing to re-elevate the element.
Let `@if` decide whether the element exists and keep `overlay` a literal on the element inside the branch.
https://markless.dev/errors/MARKLESS_OVERLAY_VALUE_UNSUPPORTEDWords in angle brackets change from case to case.
Why
Elevation is structural, not reactive. The overlay record carries no inputs, so it has no dependencies and can never re-run; a value that varies at runtime would have nothing to re-elevate the element.
Fix
Let `@if` decide whether the element exists and keep `overlay` a literal on the element inside the branch.