elm / virtual-dom

The foundation of HTML and SVG in Elm.
https://package.elm-lang.org/packages/elm/virtual-dom/latest
BSD 3-Clause "New" or "Revised" License
209 stars 80 forks source link

Some things must be handled synchronously #108

Open evancz opened 7 years ago

evancz commented 7 years ago

Originally reported by @jinjor in https://github.com/elm-lang/html/issues/130.

There are some browser APIs that only work when called in direct response to a user event. Based on asking for examples on twitter, examples include:

If you have other examples from real life, please open a separate issue and explain your usage scenario / work around. I will organize things here.