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

Drawer closeOnOverlayClick doesn't work #8485

Open
1 of 3 tasks
Lukasvo opened this issue May 15, 2024 · 0 comments
Open
1 of 3 tasks

Drawer closeOnOverlayClick doesn't work #8485

Lukasvo opened this issue May 15, 2024 · 0 comments

Comments

@Lukasvo
Copy link

Lukasvo commented May 15, 2024

Description

When I try the Drawer code examples from the documentation, nothing happens when I click the overlay. The default value for closeOnOverlayClick is true, and also when I explicitly set it to true, nothing happens on click.

Is this a bug or am I doing something wrong? (See attached code sandbox)

Link to Reproduction

https://codesandbox.io/p/sandbox/delicate-fast-lcdh84

Steps to reproduce

  1. Click the button to open the Drawer
  2. Click the overlay. Nothing happens

Chakra UI Version

2.8.2

Browser

Version 124.0.6367.158 (Official Build) (arm64)

Operating System

  • macOS
  • Windows
  • Linux

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant