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

Cascader 遗留问题 #824

Open
3 of 7 tasks
Justineo opened this issue Apr 28, 2021 · 0 comments
Open
3 of 7 tasks

Cascader 遗留问题 #824

Justineo opened this issue Apr 28, 2021 · 0 comments

Comments

@Justineo
Copy link
Member

Justineo commented Apr 28, 2021

  • searchable 的情况下鼠标 cursor 应该是 pointer
  • xs 尺寸下,Checkbox 尺寸应该是 sCheckbox 没有 xs)。
  • column-after slot 缺了默认样式。
  • 键盘 focus 到可展开项时,没有办法触发选择,按下 enter 是切换的展开,是不是应该支持 / ?(但是在 searchable 时会和移动光标的逻辑冲突,好像不太好解决)
  • 通过上下箭头导航会 focus 到 > 按钮上,应该去掉。看了下 WAI-ARIA 的实践推荐,可以考虑让禁用的选项也可以被 focus。
  • 通过键盘 focus 到的 option 没有滚入可视区域(因为是 fake focus),但这个逻辑好像和默认滚动到展开项冲突了,需要确认怎么处理。
  • multiple + searchable 时如果已经有多个已选项,获取焦点后按 shift + tab 时,会有两处 focus 同时移动。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants