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
Perhaps a solution here would be to enable a list of keycodes that are either ignored, or always blocked. I was thinking otherwise the Python event handler could veto the blocking, but that would add the roundtrip time to each event 🤮
The text was updated successfully, but these errors were encountered:
I'm not quite sure what to do about this. The original motivation for this was to make sure that handlers for keyboard events didn't have to worry about colliding with the default notebook keyboard shortcuts (I had particular issues with d``d colliding with a handler I was working on.
Is your case that the text widget is the one whose events you are watching or is it that a text widget is inside some other, larger, widget that you are handling events for?
This might only apply to the FloatText/IntText, but I assume it might be a broader issue.
By calling preventDefault on the widget, we lose the ability to enter values into widgets.
ipyevents/src/events.ts
Lines 268 to 269 in b6a94c7
Perhaps a solution here would be to enable a list of keycodes that are either ignored, or always blocked. I was thinking otherwise the Python event handler could veto the blocking, but that would add the roundtrip time to each event 🤮
The text was updated successfully, but these errors were encountered: