naive-ui
naive-ui copied to clipboard
Cascader would randomly select everything in the page in Mozilla Firefox
Describe the bug
When selecting an option inside cascader, there is a chance it would automatically select everything in the page. This can even be seen from the demo page.
Steps to reproduce
- Select an option in the cascader.
- Keep selecting different option, and randomly it will select everything in the page.
Link to minimal reproduction
https://github.com/tusen-ai/naive-ui/tree/main/demo
System Info
System:
OS: macOS 14.6.1
CPU: (10) arm64 Apple M1 Max
Memory: 113.34 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
pnpm: 9.0.6 - ~/.nvm/versions/node/v20.12.2/bin/pnpm
bun: 1.1.18 - ~/.bun/bin/bun
Browsers:
Chrome: 127.0.6533.120
Safari: 17.6
Used Package Manager
pnpm
Validations
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [X] The provided reproduction is a minimal reproducible example of the bug.