zesik / react-splitter-layout

A simple split layout for React and modern browsers. https://zesik.com/react-splitter-layout
MIT License
428 stars 131 forks source link

Mousedown events with the right mouse button should be ignored #66

Open mstange opened 1 year ago

mstange commented 1 year ago

On macOS, right-clicking the splitter shows bad behavior: The context menu opens on mousedown, and after closing the context menu, the splitter still moves with the mouse even though the button is no longer pressed.

It would be better to ignore mousedowns with the right mouse button completely.