Trouble with text inputs and double update roundtrips

I’ve made an example where the cursor does not jump.

https://ellie-app.com/bbMMCjXngNba1

In general I think one should avoid passing the Model in a Msg since this can cause tricky concurrency behaviours that are hard to reason about.

1 Like