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

Better focus handling when creating branches and tags #1288

Merged
merged 3 commits into from
Mar 3, 2020

Conversation

campersau
Copy link
Collaborator

  • The focus handling when creating a new branch or tag wasn't very user friendly because the form go closed after the name input lost focus + 200ms. E.g. using the keyboard to tab through the buttons wasn't possible and also sometimes a direct click wasn't recognised because of the losing focus.

  • The branching form now is a form again so it is possible to create branches by just pressing enter. It got lost during the refactoring in SVG Animation rewrite #630

  • The clicktest has been updated to use a custom insert and click function because the standard nightmare methods call blur methods which interfered with the focus logic. This was reliable reproduceable on macOS: before after

@campersau campersau merged commit 1cbc675 into FredrikNoren:master Mar 3, 2020
@campersau campersau deleted the create_branch_tag_focus branch March 3, 2020 08:28
@campersau campersau mentioned this pull request Mar 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant