'React-Bootstrap Modal, Issue with highlighting text in Firefox

I'm using react-bootstrap 0.31.0 (can't update it cause this is a large legacy app with a bunch of things dependent on the version). Everything works fine in Chrome, but when I try to highlight text in a textarea inside a element in Firefox (using the mouse, keyboard works), instead of highlighting the text, the cursor just tries to drag the entire modal. Adding onMouseDown={event => event.stopPropagation(}) to the textarea didn't work.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source