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
I have a project which uses spacebar and backspace as controls, both of which have builtin defaults in the browser that I need to bypass.
Being able to selectively preventDefault on a key-by-key basis would be ideal or in some cases to preventDefault on a conditional basis within elm. e.g. Only preventDefault for a key if the model has a certain state. However at the moment my app doesn't require the latter.
I have a project which uses spacebar and backspace as controls, both of which have builtin defaults in the browser that I need to bypass.
Being able to selectively preventDefault on a key-by-key basis would be ideal or in some cases to preventDefault on a conditional basis within elm. e.g. Only preventDefault for a key if the model has a certain state. However at the moment my app doesn't require the latter.