Skip to content

Keep overlay open if a child of the overlay or target is focused#40

Open
hsource wants to merge 1 commit intoSnosMe:masterfrom
hsource:harry-open
Open

Keep overlay open if a child of the overlay or target is focused#40
hsource wants to merge 1 commit intoSnosMe:masterfrom
hsource:harry-open

Conversation

@hsource
Copy link
Contributor

@hsource hsource commented Dec 7, 2023

Motivation

While working on awakened-poe-trade, I realized that opening up the file selection dialog for picking an image caused the overlay to close. This is because it's a subwindow.

Fix

Don't fire a blur event for children of either the target or overlay.

Testing

Tested target children with TextEdit; overlay children with awakened-poe-trade

Target

Target.child.mp4

Overlay

Overlay.child.mp4

@hsource
Copy link
Contributor Author

hsource commented Dec 7, 2023

@SnosMe As a heads up - this fixes 1 of the 2 main remaining issues with awakened-poe-trade on Mac

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.

1 participant