JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.55k stars 4.12k forks source link

Middle mouse click on select component gets stuck on scrolling cursor [windows only] #5332

Open ornakash opened 2 years ago

ornakash commented 2 years ago

So the problem is if you click a select component, then hover your mouse on the list and click the middle mouse button - the mouse cursor gets changed to the scrolling cursor and you need to close the window in order to get rid of it.

### How to reproduce

  1. Click on a react-select component
  2. While hovering the react-select component, click on the middle mouse button
  3. See the scrolling cursor stuck and there's no way to get rid of it

image

image

This also happens on official react-select site (https://react-select.com/home)

Codesandbox: https://codesandbox.io/s/react-select-v5-sandbox-forked-zc40dl

yimothysu commented 2 years ago

This might be browser-specific. I can reproduce on Chrome (version 105.0.5195.54) but not Firefox (version 104.0.1).