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

[BUG] - Overlay Persistence on Tab Switch Within Modal #4561

Open
antonahl opened this issue Jan 15, 2025 · 1 comment
Open

[BUG] - Overlay Persistence on Tab Switch Within Modal #4561

antonahl opened this issue Jan 15, 2025 · 1 comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working

Comments

@antonahl
Copy link

antonahl commented Jan 15, 2025

NextUI Version

2.6.11

Describe the bug

  • Scenario: When tabs are switched within a modal, and then the modal is closed.
  • Issue: An invisible overlay remains, blocking interaction with the content underneath.
  • Affected Components: Both Modal and Drawer components exhibit this behavior.

Your Example Website or App

https://stackblitz.com/edit/stackblitz-starters-dmwrhw5b?file=app%2Fpage.tsx

Steps to Reproduce the Bug or Issue

  1. Open the Modal or Drawer.
  2. Switch between tabs inside the Modal/Drawer.
  3. Close the Modal/Drawer.
  4. Observe that an invisible overlay remains, blocking interaction with the content underneath.

Expected behavior

As a user, I expected to be able to interact with the page after opening the Modal/Drawer, switching tabs, and closing the Modal/Drawer, but I can't. I need to refresh the page in order to do this.

Screenshots or Videos

No response

Operating System Version

Linux

Browser

Chrome

Copy link

linear bot commented Jan 15, 2025

@wingkwong wingkwong added 🐛 Type: Bug Something isn't working 📦 Scope : Components Related to the components labels Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants