desmosinc / mathquill

Magic textboxes where you can type math as easily as writing!
mathquill.com
137 stars 42 forks source link

Feature request: double and triple clicking should select in MathQuills #242

Open jwmerrill opened 2 years ago

jwmerrill commented 2 years ago

In (most?) browsers, double clicking a word selects it, and triple clicking selects an entire paragraph.

In MathQuill, double and triple clicking currently do nothing, as far as I can tell.

Proposal:

This feature request is somewhat important to Desmos because Desmos had previously disabled mouse events on static mathquills, which allowed the user to get native selection behavior on static mathquills and in particular, allowed them to double or triple click on static mathquills used to display calculator expression evaluations.

Desmos is now using MQ's mouse events on static mathquills, which is an improvement in some ways, but turns out to be a regression in terms of double and triple click behavior.