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
Code capturing mouse scroll event(wheel > movementY ) works flawlessly on mac, but raises error on linux.
# triggered function when mouse wheel event happens
def handle_event(event):
# how many steps on mouse scroll is detected
steps=int(event['movementY'])
# updated X chart calling layout_scroll_zoom function
f1.layout.xaxis.range=layout_scroll_zoom(steps)
# listening to mouse wheel events
Event(source=f1, watched_events=['wheel']).on_dom_event(handle_event)
Drag mouse event works on both platform flawlessly. Since one event is detected correctly and other is not, I do not know where to start looking for potential problem.
Thank you for anyone who takes a look into it. You rock! ;)
The text was updated successfully, but these errors were encountered:
@LukaPitamic sorry for the delay. Any chance you could send me the output from the javascript console when this happens? To see the console, open a notebook in Chrome, then open the developer tools. One of the options in the tools is to show the console. Not sure if you can copy/paste from the console so you may need to screenshot it.
Hi, I've noticed strange behavior of ipyevents:
Code capturing mouse scroll event(wheel > movementY ) works flawlessly on mac, but raises error on linux.
Drag mouse event works on both platform flawlessly. Since one event is detected correctly and other is not, I do not know where to start looking for potential problem.
Thank you for anyone who takes a look into it. You rock! ;)
The text was updated successfully, but these errors were encountered: