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 tab position in viewport #284

Merged
merged 2 commits into from
Dec 3, 2024
Merged

fix tab position in viewport #284

merged 2 commits into from
Dec 3, 2024

Conversation

recrwplay
Copy link
Collaborator

Updates the tab scroll to take the elements position before and after all the tabs have been switched so that the difference can be used for the scrollTo. The scrollTo behavior changes to instant, because we are effectively masking the fact that the tab position would move without a scrollTo, and we are moving it back to where it was before the tab was clicked.

Copy link

netlify bot commented Nov 27, 2024

Deploy Preview for neo4j-docs-ui ready!

Name Link
🔨 Latest commit 571252b
🔍 Latest deploy log https://app.netlify.com/sites/neo4j-docs-ui/deploys/67498b0ac3afc40008fc0eda
😎 Deploy Preview https://deploy-preview-284--neo4j-docs-ui.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@recrwplay recrwplay merged commit 01c4f50 into master Dec 3, 2024
5 checks passed
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.

1 participant