- Issue created by @ashrafabed
For e.g. an accordion that spans multiple pages (such as an FAQ in the footer region) it may be useful for the expanded/collapsed state of accordions to persist across page loads for a given user.
Load a page with an accordion
Collapse (or expand) accordion items
Refresh the page
Confirm they are still expanded/collapsed if appropriate
Add e.g. remember_state prop to accordion. If true, state will persist using browser's localStorage (so state only applies to current visitor)
Active
1.0
Code