-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update micromodal
to 0.4.10 to fix navigation close button
#38032
Conversation
Size Change: +12 B (0%) Total Size: 1.13 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Close the menu with the ✖️ button
- It should close and stay closed
I tried testing trunk
in Firefox with touch simulation and closing worked ok. Not sure why 🤔
But I did still get the issue with the profile menu opening and also can see the warning in the console.
This fixes those issues. It looks like there was a small problem with the package.json so I pushed a fix.
Thanks for tracking down the micromodal problem and resolving the issue!
Doesn't this need to be backported to 5.9? |
@carolinan The last backports for 5.9 have already been done. I've added the label to make sure it's included in 5.9.1. |
I know the time zones are problematic, but I don't think 5.9 should ship a broken default theme. |
I was unable to reproduce the issue in Twenty Twenty-Two. I thought you mentioned the same thing in your comment: It's certainly not a great bug, but I don't know why it only affects certain themes. I did mention this issue to @noisysocks (editor release lead) already, btw. |
Since there are 9 more issues remaining in the 5.9 must-haves board, I assume there will be more backports for 5.9. We have a few hours to go for the next RC and a few days for the final release... |
I meant it was not exclusive to Twenty Twenty-Two. That it is not a theme issue. |
Yeah, for the record we did encounter this issue during Twenty Twenty-Two dev: WordPress/twentytwentytwo#301 (review). We thought it was fixed in #36837, but if that didn't work then we should try getting this in. |
* Update `micromodal` to 0.4.10 to fix navigation close button * Update package lock Co-authored-by: Daniel Richards <[email protected]> (cherry picked from commit 5bad8e8)
…#38057) * Update `micromodal` to 0.4.10 to fix navigation close button * Update package lock Co-authored-by: Daniel Richards <[email protected]> (cherry picked from commit 5bad8e8) Co-authored-by: Kelly Dwan <[email protected]>
* Update `micromodal` to 0.4.10 to fix navigation close button * Update package lock Co-authored-by: Daniel Richards <[email protected]> (cherry picked from commit 5bad8e8)
…#38058) * Update `micromodal` to 0.4.10 to fix navigation close button * Update package lock Co-authored-by: Daniel Richards <[email protected]> (cherry picked from commit 5bad8e8) Co-authored-by: Kelly Dwan <[email protected]>
Description
Update the version of
micromodal
library to0.4.10
to bring in a fix that allowspreventDefault
again, fixing the click-through behavior in browsers that emulate click events on touch events. See ghosh/Micromodal#488.Fixes #37996.
How has this been tested?
Types of changes
Bug fix (non-breaking change which fixes an issue)