We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I found that if an element is hidden for example using 'display: none'; the offsetTop of that element is 0.
offsetTop
This will cause the page to scroll on top.
I discovered it using WooCommerce that use the display property to hide the product tabs within the single product page.
display
WooCommerce tabs is one of the ui elements that show the content by clicking on an element. Like accordion.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I found that if an element is hidden for example using 'display: none'; the
offsetTop
of that element is 0.This will cause the page to scroll on top.
I discovered it using WooCommerce that use the
display
property to hide the product tabs within the single product page.WooCommerce tabs is one of the ui elements that show the content by clicking on an element. Like accordion.
The text was updated successfully, but these errors were encountered: