desmosinc / mathquill

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

Remove remaining callsite for resetToEnd #227

Closed jwmerrill closed 2 years ago

jwmerrill commented 2 years ago

resetToEnd caused a bug when called from renderLatexMathEfficiently that was fixed in https://github.com/desmosinc/mathquill/pull/226

I think this method has a fundamental behavior problem in that it adjusts the cursor model but does not update the corresponding DOM. Replace it with insAtRigthEnd.

Ref: