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

Respect "hidden" attributes when testing Wrapper.isVisible() #1257

Merged
merged 2 commits into from Jun 12, 2019
Merged

Respect "hidden" attributes when testing Wrapper.isVisible() #1257

merged 2 commits into from Jun 12, 2019

Conversation

stevegrunwell
Copy link
Contributor

Elements that are hidden via the HTML hidden attribute were erroneously being reported as being visible by the isVisible() method, even though they were not actually visible in the DOM.

Elements that are hidden via the HTML `hidden` attribute were erroneously being reported as being
visible by the `isVisible()` method, even though they were not actually visible in the DOM.
@LinusBorg LinusBorg self-requested a review June 11, 2019 15:13
Copy link
Member

@LinusBorg LinusBorg left a comment

Choose a reason for hiding this comment

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

Looking good!

Copy link
Member

@eddyerburgh eddyerburgh left a comment

Choose a reason for hiding this comment

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

Thanks 👍

@eddyerburgh eddyerburgh merged commit 950763f into vuejs:dev Jun 12, 2019
@vue-bot
Copy link

vue-bot commented Jun 12, 2019

Hey @stevegrunwell, thank you for your time and effort spent on this PR, contributions like yours help make Vue better for everyone. Cheers! 💚

@stevegrunwell stevegrunwell deleted the fix/is-visible-and-hidden-attributes branch July 14, 2020 16:52
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.

None yet

4 participants