tusen-ai / naive-ui

A Vue 3 Component Library. Fairly Complete. Theme Customizable. Uses TypeScript. Fast.
https://www.naiveui.com
MIT License
16.26k stars 1.68k forks source link

Cascader would randomly select everything in the page in Mozilla Firefox #6284

Open adlanarifzr opened 3 months ago

adlanarifzr commented 3 months ago

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

jahnli commented 3 months ago

No recurrence

adlanarifzr commented 3 months ago

I think it only happen in Mozilla Firefox. I tested with Google Chrome and Safari, it is working fine.

jahnli commented 3 months ago

I do not have Firefox browser at present, I will pay attention later, is it caused by misoperation?