@Charlie @kory just noticed a couple small things
1 – Disable Body Scroll does not appear to actually disable body scrolling for Content Area Off Canvas elements.
2 – Accordions inside components inside Content Area Off Canvas requires two taps to open on mobile. I’ll put a site in a private note where you can check it out. But on mobile phones, I have to tap twice to get the accordion to open. Works fine with a single click on desktop.
It’s kind of funky. I wonder if the active state of the toggle button is somehow hijacking focus. Because if I tap anywhere in the Off Canvas content prior to tapping the accordion (e.g. tapping the background or scrolling), the accordions works fine. And once I’ve opened one accordion, all the others work fine with a single tap.
Edit: Actually, this issue appears to affect any element within a component inside the Content Area Off Canvas element. The first time I try to tap a button, it simply shows the interaction state. Then I have to tap it again to follow the link.
Repro Steps:
- Create a component that contains an Accordion and/or Button
- Put that component into the Content Area of a Content Area Off Canvas element using the shortcode
- Save, and view on the front end from a mobile phone
- Tap the toggle to open the Content Area
- Tap on an accordion or button
Observed:
The first time you tap an Accordion or Button, you only see the interaction state change. You have to tap again to actually trigger the Accordion or follow the link from the button.