Skip to content

Improve initial isVisible prop check #7

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

Merged
merged 1 commit into from
Apr 16, 2021
Merged

Improve initial isVisible prop check #7

merged 1 commit into from
Apr 16, 2021

Conversation

purecopy
Copy link

Short circuiting the isVisible prop will always lead to the fallback value (true) as false will always be skipped and therefore won't work as expected

Short circuiting the isVisible prop will always lead to the fallback value (true) as false will always be skipped and therefore won't work as expected
@ktquez
Copy link
Member

ktquez commented Apr 16, 2021

Nice @webbri

Thanks!

@ktquez ktquez merged commit 06de752 into vue-a11y:next Apr 16, 2021
@purecopy purecopy deleted the patch-1 branch April 16, 2021 12:38
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.

2 participants