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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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