- Issue created by @nenillo
- Status changed to Closed: works as designed
about 1 year ago 10:25am 2 November 2023
Hi! Creating my first ever issue here.
So this module works really well, but the accordion doesn't seem to start collapsed for me when I test on mobile, specifically on iPhone. Or it does actually start collapsed, but as soon as the user scrolls down to view the accordion, the first accordion item opens. Me and my colleagues suspected that this could be due to the resizing of the window. For example on iPhone the search bar (and other buttons) in Safari or Chrome is hidden when scrolling down. I'd like the accordion to stay closed even when the users scrolls down.
This issue doesn't occur for Android phones (or the majority of the different Android and browser combinations we quickly tested).
Recently upgraded to D10.
Has anyone else encountered anything similar?
Could the resize functionality in the JS be modified to take this iOS issue into consideration? Maybe checking only if window width is changing, not window height?
Thanks!
Closed: works as designed
2.0
Code