You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many browsers, though it may not be the case anymore, setting the input value always resets the cursor position/selection. This avoids setting it if it has not changed so as not to reset the cursor when you are typing. It's a common bit of virtual DOM "lore".
here
purescript-halogen-vdom/src/Halogen/VDom/DOM/Prop.purs
Lines 149 to 155 in 8b91e55
well, I kind of understand why, but still want to know the explanation
the other question is should we update other propNames this way?
for example react calls
value
,checked
,selected
the Controlled attributes and handles them differently (diffHydratedProperties)The text was updated successfully, but these errors were encountered: