-
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
Components: Popover: Handle unfocus events correctly #58825
Comments
@scruffian Are we going to be able to pursue this prior to WP 6.5? I'm not sure if you could get support from components folks here? |
This is on our radar, but I'm afraid I don't have the bandwidth if this needs to be in 6.5. If it doesn't need to be in 6.5, could you help me assess the importance and urgency of this issue? Is it a blocker for something? Asking because we don't have immediate plans to overhaul Modal, so there are no existing projects in our pipeline that this issue could piggyback onto. Of course, we'd be happy to review if your team finds a fix! |
Thanks @mirka. My instinct is that this won't make 6.5. AFAIK the current work around doesn't cause any major issues, but it would be nice to find a "proper" fix during the 6.6 cycle, especially if components team don't have revisiting Modal on their radar. @fabiankaegy @annezazu I think we can punt to 6.6. |
Done! Removed from the 6.5 board. Thanks for diving in. |
Commented here: #57756 (comment)
|
I've taken a look back at #57756 to try and understand this issue and uncovered that this may not be an issue with
Here’s the effect that causes the issue: gutenberg/packages/block-library/src/navigation-link/edit.js Lines 338 to 346 in 2012a36
The block shouldn’t need the effect in order to remove the Popover and it appears to be a workaround for some older issue that may no longer be relevant. I've made #61050 and it does seem to be possible to remove. Reviews/testing there is much appreciated. |
Thank you so much for looking into this, @stokesman 🙏 Can we consider this issue closed by #61050? |
I think we can consider this closed. The question I take away from it is whether |
What problem does this address?
In #57756 (review) we discovered a problem with the Popover component.
Comment from @getdave:
Comment from @ciampo:
What is your proposed solution?
Suggestion from @ciampo:
The text was updated successfully, but these errors were encountered: