Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upFix Mouse.isDown behavior for non-fullscreen components #498
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
evancz
May 11, 2016
Member
Mouse no longer lives in core. Not sure if it is still an issue in elm-lang/mouse.
|
Mouse no longer lives in core. Not sure if it is still an issue in |
evancz
closed this
May 11, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
erich-9 commentedFeb 6, 2016
The signal Mouse.isDown doesn't work as explained in the documentation:
For embedded components pressing or releasing a mouse button outside the component doesn't change the value of the signal Mouse.isDown, even if the mouse is moved back into the component afterwards.
Here is an example (save it as Main.elm and compile
elm-make Main.elm --output=elm.js):Now embed it in an HTML document: