-
Notifications
You must be signed in to change notification settings - Fork 92
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
Readdress 5737 fixing the actual cause #5891
Conversation
E2E Tests 🚀 ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I build from this PR, I don't quite see as good behavior as I did with #5834. Specifically, when I click only once on one of these buttons:
it does not do anything. When I click a second time, then it does in fact go ahead with whatever action needs to happen, like split right or start the publishing process.
What do you think? Do you also see the behavior around the first click vs. the second one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I do not see the single-click behavior; for me it seems to work as expected 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested with a jupyter notebook and quarto file; splitting editors right/down and popping out all worked on the first try 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works great for me now as well! 🙌
Description
This PR readdresses #5737 by fixing the actual cause of the issue. With this PR, mouse down events do not steal focus when they occur inside a Positron action bar. This workaround was borrowed from code in
handleTitleClickOrTouch
that does the same thing for Monaco action bars.@:editor-action-bar
QA Notes
None.