Conversation
|
See #77 as it's related. There was a bug that assumed that connection identifiers are always Rails model instances or at least an object with an Note that version 2.1.4 fixes this bug. |
|
Great news that #77 was patched, although technically this PR was coming regardless. The server should not be able to overwrite the contents of an input element while you're typing into it. |
|
I'm currently building a chat demo on the expo project and am seeing a usecase where we actually do want the input clobbered when the reflex updates the DOM. 🤔 |
|
Just wanted to check in on this and see where your head is at. I'm happy to make the changes you suggested, but I wanted to make sure that we're still on the same page about it being a good idea. |
|
I still think this is a good idea. If someone want's to take action on one of these input fields (as my chat example above) they can still do so via a lifecycle method. |
…list of textual types possible in html5
|
Oh, awesome! Seemed like you were on the fence. |
Type of PR (feature, enhancement, bug fix, etc.)
Enhancement
Description
Proposed fix for the problem of multiple users clobbering each other by typing into the same input at the same time. Concept is that if a textual input element has focus, morphdom should never overwrite the input's current value even when it deviates from the server's rendered updated.
Why should this be added
While not a complete solve for multi-user concurrency, this imposes some sanity on an otherwise imperfect status quo.
Checklist