next.js
3fdf51cf - [dev-overlay] HOTFIX: clicking nav escapes the overlay (#75876)

Commit
335 days ago
[dev-overlay] HOTFIX: clicking nav escapes the overlay (#75876) Following up of #75679 ### Why? Clicking the navigation escapes the overlay. It is because the navigation component is outside of the dialog component. #### Before https://github.com/user-attachments/assets/e7c63261-c44b-4af7-936d-1750dff07527 #### After https://github.com/user-attachments/assets/979421fa-fb71-481d-bd58-6703298db28b ### How? Since we already have logic to prevent closing overlay when clicked outside the component for dev indicator, add the header to this CSS selectors list as well.
Author
Parents
Loading