I built a header template part with a cwicly nav block inside. When I set the “show from” option to 2xl (tailwind breakpoint) the nav menu modal is always expanded (thus visible) and pushes adjacent content down as if its position wasn’t fixed but static or relative. This happens not only on the specified 2xl breakpoint, but on all breakpoints. When I set the “show from” option to xl (or any other lower breakpoint) the nav menu modal stays collapsed as expected until the specified breakpoint and only then expands.
Step-by-step reproduction instructions:
Enable tailwind, reset to tailwind breakpoints, regenerate HTML and (tailwind) styles
Open the Post Editor/Site Editor
Add a header template part
Add a cwicly nav block
Fill nav block with content
Set “show from” option to 2xl
Watch how the menu modal is expanded on every breakpoint (both in the editor and on the frontend)
Just to say that I have added this to my check list and will be getting back to you on it as soon as possible.
I imagine this shouldn’t be hard to fix for the next Cwicly update.
If you have time, I would be grateful if you could take a look at 1.4.2-beta5 and see if that fixes the issue you were experiencing.
You might need to regenerate Global Styles CSS for this or access and make a save on the editor.
I tried to test this on a local duplicate of the site I showed in the screencast, but switching from cwicly 1.4.1.8 to cwicly 1.4.2 beta5 yielded a critical error on the frontend for all pages. I can add the error message here if it’s interesting for you. From what I understand it may be due to the fact that ACF is missing (and thus also my associated CPTs).
I don’t have much time to fix this critical error, but I tested the beta5 on a fresh installation and there the nav menu modal bug was fixed, so it’s looking good, thanks
I guess I’ll wait for the end of the beta phase and update cwicly to 1.4.2 to fix the nav menu modal bug on the production site.
EDIT: installing acf and regenerating all CPTs solved the critical error. I can confirm that the nav menu modal bug is resolved on my end