Tram-One / tram-one

🚋 Legacy View Framework For Vanilla Javascript
http://tram-one.io/
MIT License
36 stars 8 forks source link

Inputs lose focus when sharing state #161

Closed JRJurman closed 3 years ago

JRJurman commented 3 years ago

Summary

In the following repo, there are issues with keeping input. This might have to do with shared global state :thinking: https://github.com/JRJurman/tram-one-input-testing

Test

Run npm start Start typing

Expected

Browser does not lose focus while typing

Actual

On every key press, input loses focus

Notes

Not sure if this input tag is being wired up correctly, or if doing onkeyup is discouraged, but I feel like that should be supported.

JRJurman commented 3 years ago

Verified fixed in 10.1.15 :+1: