naive-ui icon indicating copy to clipboard operation
naive-ui copied to clipboard

Cascader would randomly select everything in the page in Mozilla Firefox

Open adlanarifzr opened this issue 6 months ago • 3 comments

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.

image

Steps to reproduce

  1. Select an option in the cascader.
  2. 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

adlanarifzr avatar Aug 22 '24 14:08 adlanarifzr