[Ur] <ctextinput source={s} /> looses input focus after every keypress

Sergey Mironov grrwlf at gmail.com
Mon Apr 3 06:38:40 EDT 2017


Just found a strange issue regarding <ctextinput>. If used with
source={s} attribute set, the control looses input focus after every
keypress event. Removing source={s} brings back the correct behavior.
Is it a known issue?

As a workaround, I tried <ctextinput id={cid} source={s}
onkeypress={fn _ => giveFocus cid} /> with no improvement.

I'm using urweb-20170105 and firefox(nighty)-49.0

Regards,
Sergey



More information about the Ur mailing list