Closed mrcarlberg closed 2 years ago
Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue.
I have found three things that is strange.
-#new +TextView
Milestone: Someday. Label: TextView. What's next? A reviewer should examine this issue.
We have problems with CPTextView and the Scandinavian character Å and å. When typing fast the text view will loose or misplace it. This makes CPTextView unusable for us. There is some special handling with it as browser has some old weird handling for dead keys. ("https://stackoverflow.com/questions/25043934/is-it-ok-to-ignore-keydown-events-with-keycode-229"). I did some quick check in the code and the CPTextView uses some global variables for handling this (´_CPNativeInputFieldKeyDownCalled´ and friends). It does not work when you type fast as multiple keydowns will come in a row and probably the global variables will be overwritten? This can be tested by setting the keyboard layout to a Scandinavian layout and type å or Å (the key directly to the right of P). It does work if you type very slow.
Scandinavian keyboard layout: