No cursor to enter text when once user right clicks on the textbox in Mac-OS
No cursor to enter text when once user right clicks on the textbox in Mac-OS. Only when user now clicks outside the text box does the cursor appears.
Tried a lot to resolve but saw the same functionality in the official site.
@darshikagupta can you confirm if this is still an issue for you and if so, what browser. I am running OSX Chrome and not experiencing any of the behavior you are describing.
We will be closing this to focus on remaining react-select issues. If you wish to provide a codesandbox demonstrating the behavior, someone we may able to provide more direction on next steps and we can re-open this issue if necessary.
Hi, we're seeing this issue in our app as well
Seeing it happen in chrome on Mac, haven't tested other configurations: https://codesandbox.io/s/reverent-austin-i0wif?file=/src/App.tsx
@depsypher I verified that the behavior is indeed different from right-clicking an input.
I will re-open this to further investigate, but I will also add that this appears to be by design for some reason: https://github.com/JedWatson/react-select/blob/d1e660c6b261d7fd60a85a6eca2ee9e3e0348ea2/packages/react-select/src/Select.js#L914-L917
It should also be easy enough to work around if you were looking to add this compatibility by adding an onClick handler that focuses the select.
@ebonow I'm trying to figure out how to implement the workaround you mention - "adding an onClick handler that focuses the select". Which component do I need to add an onClick handler to? One of the internal components?
Any idea why that onMenuMouseDown handler is squelching right-click?
Curious about this too. Any way to bypass onMenuMouseDown ignoring everything other than left click?