Skip to content

Liveview native state - #37

Merged
ukutaht merged 6 commits into
mainfrom
liveview-native-state
Oct 6, 2026
Merged

ukutaht merged 6 commits into
mainfrom
liveview-native-state

Conversation

@ukutaht

@ukutaht ukutaht commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Use LiveView’s JS attribute APIs to preserve client-managed state across server updates..

Fixes:

  • Server updates resetting client-managed ARIA attributes and focus markers.
  • Server updates overwriting dropdown, listbox, and combobox positioning or visibility styles.
  • Combobox updates unnecessarily scrolling back to the highlighted option.
  • Closed comboboxes attempting to restore option focus after updates.
  • Stale active-option references when options disappear or become disabled.
  • Dropdown and listbox positioning observers stopping after updates.
  • Modal server-event handlers being unnecessarily removed and registered again.

@ukutaht
ukutaht merged commit 110723e into main Oct 6, 2026
1 check passed
@ukutaht
ukutaht deleted the liveview-native-state branch October 6, 2026 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant