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

iOS: Popup is closing when background is touched instead of tapped #108

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

s153625
Copy link

@s153625 s153625 commented Feb 7, 2024

Currently on iOS, a mopup is closed when a user is touching the background instead of tapping it. This also leads to mopups always closing when the app is swiped into App Switcher mode or similar as the background is touched in the process.
The problem is occurring because the GestureRecognizer in PopUpPageRenderer isn't working anymore (OnTap isn't called). This might also be one of the reason for the changes in the HitTest method in PopUpWindow?
The suggested solution seems to be working but might not be the optimal solution. It attaches the Gesture Recognizer to the View from the ViewController of the PopupPageHandler and uses its Subview in the boundary check.
The solution also seems to fix #95.

Copy link
Owner

@LuckyDucko LuckyDucko left a comment

Choose a reason for hiding this comment

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

@s153625 Cheers Kevin Ill merge this in.

@LuckyDucko LuckyDucko merged commit 44b6af7 into LuckyDucko:master Mar 7, 2024
@vecalion
Copy link

vecalion commented Mar 7, 2024

@LuckyDucko may I kindly ask if you're going to trigger a new nuget version with this PR anytime soon? We're facing #95 and I wonder if we should implement a workaround or just wait a bit for the new version.

@LuckyDucko
Copy link
Owner

Should be up and ready as version 1.3.1

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.

[Ios] [Crash] When popup on screen and app deactivate / activate - there is a crash
4 participants