Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix logic error in UI event emit code #14059

Merged
merged 2 commits into from
Sep 12, 2024
Merged

Conversation

mattpap
Copy link
Contributor

@mattpap mattpap commented Sep 11, 2024

Operator in result ||= emit(tool) is short circuiting, thus if the first emit returned true, which is always for key event handlers, then no other would emit.

fixes #14058

@mattpap mattpap added this to the 3.6 milestone Sep 11, 2024
bokehjs/src/lib/core/ui_events.ts Show resolved Hide resolved
@mattpap mattpap merged commit f1824dc into branch-3.6 Sep 12, 2024
22 checks passed
@mattpap mattpap deleted the mattpap/14058_emit_UI_events branch September 12, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Clearing selection with ESC only works on first selection tool
2 participants