Skip to content
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

Not able to close Overlay on first render if lazy true #6399

Closed
SiimTa opened this issue Sep 21, 2023 · 2 comments
Closed

Not able to close Overlay on first render if lazy true #6399

SiimTa opened this issue Sep 21, 2023 · 2 comments

Comments

@SiimTa
Copy link

SiimTa commented Sep 21, 2023

Environment

  • Package version(s): 5.3.0
  • Browser and OS versions: Windows 11

Problem

When you try to close Overlay(drawer, dialog, alert, ...) with escape key, it will not succeed on the first render of the overlay. Next tries will work, but from accessibility perspective user may get stuck in the mentioned overlay.
You can try it out on the examples: https://blueprintjs.com/docs/#core/components/drawer

The problem is not present when lazy prop is set to false, so I guess that's a workaround until fixed.

@adidahiya
Copy link
Contributor

@SiimTa thanks for the bug report. This may be slightly related to #5947.

@adidahiya
Copy link
Contributor

Fixed in Overlay2 component via #6656

UX paper cuts automation moved this from To do to Done Jan 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

2 participants