Has anyone encountered the following problem?

I have an input element that reads values from a reagent atom (i.e. the 'db' in 
re-frame) and updates the atom upon :on-change with the entered value.

This works with IMEs that map one keystroke to one character, but when several 
keystrokes are required to compose the desired character (e.g. Japanese), the 
on-change event is picked up and the value is updated before the desired 
character is composed.

Would appreciate any tips/pointers.Thanks!

P.S.

This seems to not be a problem with pure react with some experimenting, but do 
not have any clue. 

I am working around this by reading from the dom directly when the value is 
needed, but my impression is that the recommended way is to keep everything in 
an atom.

Regards,

Ikuru

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to