Skip to content

Conversation

@jameskerr
Copy link
Contributor

@jameskerr jameskerr commented Jan 5, 2024

The buttons now work and there is an integration test that clicks all the buttons in the titlebar region and makes sure they work.

I'm not certain these tests would catch this bug, as it's outside of the scope of what playwright can test, but these tests still seem worthwhile.

@jameskerr jameskerr requested a review from philrz January 5, 2024 00:40
justify-content: center;
flex-shrink: 0;
transition: background 100ms;
-webkit-app-region: no-drag;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the fix.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The app thought these buttons were draggable regions and intercepted all mouse events.

Copy link
Contributor

@philrz philrz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for the test! 👍

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.

3 participants