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

🐛 fix(bal-modal): Opening and Closing causes scrolling #1477

Open
1 task done
GinaBiondo-aperto opened this issue Oct 7, 2024 · 0 comments
Open
1 task done

🐛 fix(bal-modal): Opening and Closing causes scrolling #1477

GinaBiondo-aperto opened this issue Oct 7, 2024 · 0 comments
Labels
🐛 bug Something isn't working

Comments

@GinaBiondo-aperto
Copy link
Collaborator

Current Behavior

This seems to be a similar issue as #1476
Opening the modal somehow triggers the navigation (opening the meta navigation as well). Closing it will cause the page to scroll up and then back to the latest position. This happens in all viewports.

Expected Behavior

Opening an overlay on the page should not cause scrolling to the top of the page.

Steps to Reproduce

  1. regular usage of the modal
  2. scroll down the page
  3. open modal and close it again

Version

16.4.0

Browsers

Firefox, Chrome, Safari, Microsoft Edge

Device

Mobile, Tablet, Desktop

Code Reproduction URL

No response

Additional Information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@GinaBiondo-aperto GinaBiondo-aperto added the 🐛 bug Something isn't working label Oct 7, 2024
@m4rc0z m4rc0z changed the title 🐛 fix(bal-modal): Opening and losing causes scrolling 🐛 fix(bal-modal): Opening and Closing causes scrolling Oct 10, 2024
@hirsch88 hirsch88 removed their assignment Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants