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

refactor: make _getAvailableIndex check item visibility by default #8519

Closed

Conversation

vursen
Copy link
Contributor

@vursen vursen commented Jan 16, 2025

Description

Instead of passing a condition function to _getAvailableIndex on every call to check if an item is visible, the PR moves the check to _isItemFocusable, which is called by default.

Type of change

  • Refactor

@vursen vursen changed the title refactor: move item visibility check to _isItemFocusable refactor: make _getAvailableIndex check item visibility by default Jan 16, 2025
@vursen vursen force-pushed the refactor/do-not-pass-isElementHidden-to-each-method branch from b0ec962 to 141c7c5 Compare January 16, 2025 08:55
@vursen vursen closed this Jan 16, 2025
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