Prevent default when mousing down on a button that responds to clicks (#3709)

This ensures that ancestors that track focus don't accidentally steal it
on mouse down, which was preventing the editor from deploying the code
actions menu.

Release Notes:

- N/A
1bb85c1b9aAntonio Scandurra committed on 12/19/2023, 1:41:58 PM· committed by GitHubparents6a0740fafbc61a
3 files changedLine totals unavailable