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

Add a note to the JS hide/1 and show/1 functions for clarifying targeted elements #3510

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

augusto1024
Copy link

When using hide and show functions, I noticed that elements that weren't visible to the users weren't being hidden by adding the display: none style.

After looking at the JS code, I saw that the corresponding js functions check if the element is visible or not before applying the style. IMO this is not trivial and should be added to the documentation.

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