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

Fixes the scroll to top when opening lightbox #124

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

mably
Copy link
Contributor

@mably mably commented Dec 18, 2024

We noticed a strange bug on our side when opening Tobii lightbox.

We could see the page being scrolled to the top behind the dialog overlay.

And we could see the page scroll back down to its original position on dialog close.

This small CSS change fixed the problem on our side.

Don't know if it can be generalized though.

Copy link
Owner

@midzer midzer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Thanks for the fix.

@midzer midzer merged commit 95d499a into midzer:production Dec 19, 2024
@mably mably deleted the topic/scroll-to-top-bug branch December 19, 2024 12:31
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

Successfully merging this pull request may close these issues.

2 participants