Skip to content

Conversation

ghiscoding
Copy link
Owner

  • add tabIndex on every list item and select-all checkbox so that we can use up/down arrows to focus on next or previous item.
  • divider will be skipped and ignored
  • using Enter or Space key will select/unselect the input checkbox of the current item

brave_JqP0OMAlaj

- add tabIndex on every list item and select-all checkbox so that we can use up/down arrows to focus on next or previous item.
- divider will be skipped and ignored
- using Enter or Space key will select/unselect the input checkbox of the current item
Copy link

github-actions bot commented Nov 25, 2023

🎭 Playwright Summary - Success 🎉

Playwright Report

multiple-select-vanilla-root@0.0.0 test:e2e /home/runner/work/multiple-select-vanilla/multiple-select-vanilla
playwright test --config playwright/playwright.config.ts

Running 69 tests using 2 workers
·····································································
69 passed (55.7s)

- when using VirtualScroll, it recreates the dropdown list and we need to unbind previous listeners and rebind new listener, also when the list gets recreated then we also need to refocus on the same item but in the new list
- add group name to unbindAll to easily unbind events when dealing with VirtualScroll
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