select箭头键翻页时,hover态会切回鼠标位置所在的选项
jayyoonn opened this issue · comments
Jay Yoon commented
描述错误
select箭头键翻页时,hover态会切回鼠标位置所在的选项
复现步骤
- 点击n-select展开选项列表;
- 鼠标hover到某个选项;
- 使用键盘箭头键翻页;
- 当触发滚动条滚动时,hover态会切回到鼠标所在位置的选项
最小复现链接
https://codesandbox.io/p/sandbox/funny-tree-9gp4j4?file=%2Findex.html%3A6%2C13
系统信息
System:
OS: macOS 13.4
CPU: (8) arm64 Apple M2
Memory: 192.63 MB / 16.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
pnpm: 8.15.6 - /opt/homebrew/bin/pnpm
Browsers:
Chrome: 125.0.6422.76
Safari: 16.5
npmPackages:
naive-ui: ^2.36.0 => 2.37.3
vue: ^3.3.13 => 3.4.14
使用的包管理器
npm
验证
jahnli commented
Not sure if this is the design