Open jack-hermanson opened 5 months ago
How would this work after switching pages though? Or having a new search result come back that replaces the body of the page?
Local storage? But then we'd need an event to fire off every time, and it might briefly be open. I feel like there's no winning solution here.
Need a way for the server to respond with it already opened or clsoed, with the option to still toggle with JavaScript.
Way to do that would probably be toggling a class.
Using htmx to retrieve the filter component from the server was overkill. Just use javascript and toggle
display: none
or something if possible.