Hyunje Alex Jun
dc7b14d0e1
Consume mousewheel event when there's hovered textarea.
...
Only when it needs to be scrolled.
2015-04-11 02:16:37 +09:00
Rupert Angermeier
42cf8d3679
Adapt fallback for selection
...
Thanks @darthmaim for pointing this out
2015-02-19 16:31:27 +01:00
Rupert Angermeier
8290c4f726
Fix issue with false selection detection
...
`selection.rangeCount` will return 1 when user is typing something in a
form widget. This will consequently trigger unvoluntary scrolling when
the mouse is moved outside of scrollable area. Checking the actual
length of selected text doesn't trigger this behaviour.
2015-02-18 13:34:36 +01:00
Hyunje Alex Jun
81dd8e9eb0
Add a guard to check if activeElement exists.
2015-02-11 16:00:19 +00:00
Hyunje Alex Jun
b5d0958e82
If scrollbar's detached, reinitialise the plugin in update.
2015-02-11 16:00:19 +00:00
Hyunje Alex Jun
c8fe0b9269
Add missing updates in handlers.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
b000c771af
Fix typo in touch handler.
2015-02-11 15:53:42 +00:00
Hyunje Alex Jun
a52a945226
Modularise handlers.
2015-02-11 15:53:42 +00:00