Ensure popover state matches overlay styling

This commit is contained in:
thePR0M3TH3AN committed 2025-10-16 16:00:12 -04:00
1 parent 43a75e86c8
commit ef14485eae
4 files changed
+12 -1

No files matched your search

+1 -1
View File
@@ -29,7 +29,7 @@ dev surface without worrying about duplicates.
`createPopover(trigger, render, options)` wires focus management, aria
attributes, collision detection, and auto updates. The render callback receives
a portal `container` inside the overlay root. Return the panel element so the
engine can toggle `data-popover-state` values while it opens and closes.
engine toggles `data-popover-state` / `data-state` values while it opens and closes.
```js
import createPopover from "../js/ui/overlay/popoverEngine.js";