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

Add tabindex to list item and they can be controlled by up/down arrow. #613

Merged
merged 1 commit into from
Nov 23, 2023

Conversation

Krega0129
Copy link

  • added tabindex to list item
  • support to control list item by up/down arrow.
  • fixed filter error in Custom Filter

@wenzhixin
Copy link
Owner

https://multiple-select-live.wenzhixin.net.cn/code/wenzhixin/16501
需要完善:

  • 单选:当 Enter 后焦点就消失了,应该回到 select 中?
  • 多选:无法关闭 select dropdown,考虑用 tab 退出?

@Krega0129
Copy link
Author

https://multiple-select-live.wenzhixin.net.cn/code/wenzhixin/16501 需要完善:

  • 单选:当 Enter 后焦点就消失了,应该回到 select 中?
  • 多选:无法关闭 select dropdown,考虑用 tab 退出?

多选情况下,Esc 可以关闭 select dropdown,tab 默认功能为聚焦下一个选项,是否需要修改为关闭?

@Krega0129 Krega0129 force-pushed the feature/add-tabindex branch from 28c922a to 532ef65 Compare November 22, 2023 09:40
@wenzhixin
Copy link
Owner

写错了,是 ESC 退出

@Krega0129 Krega0129 force-pushed the feature/add-tabindex branch from 532ef65 to 8bbbae1 Compare November 23, 2023 02:27
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