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

feat: make isVisible more comprehensive #454

Merged
merged 1 commit into from Mar 12, 2021

Conversation

nandi95
Copy link
Contributor

@nandi95 nandi95 commented Mar 10, 2021

A quick addition so the method takes all styling into account.

Copy link
Member

@lmiller1990 lmiller1990 left a comment

Choose a reason for hiding this comment

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

Wow, neat!

@IGx89
Copy link

IGx89 commented Sep 30, 2022

Note for the future: getComputedStyle has been (re)defined to only work on connected elements (ref), so at some point in the future, when jsdom changes to match the spec, this will break. When that happens, see vuejs/vue-test-utils#2013 for how I handled that scenario.

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