Some SelectWidgets (e.g.RadioSelectWidget) add document keydown listeners when focused, and removed them if blurred. However if they are detached from the DOM while focussed, the blur event never fire, keeping the object in memory, and causing the keypress event to fire on the next keystroke.
An example from EditCheck:
- Trigger a check that has a survey, e.g. PasteCheck or ToneCheck
- Start the survey, as select a radio option:
- Press back to hide the form
- Focus the VE surface and try to use the arrow keys. Observe that arrow keys do not move your cursor.
