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

Fix Issue #1256 #1267

Merged
merged 2 commits into from Jul 3, 2023
Merged

Fix Issue #1256 #1267

merged 2 commits into from Jul 3, 2023

Conversation

cucumber-sp
Copy link
Contributor

@cucumber-sp cucumber-sp commented Jun 26, 2023

Description of Change

Linked Issues

PR Checklist

Additional information

Turned out that when you define both width and height it works, but if only one of them it crashes. After research i found that it allows you to set 0/Nan value to width or height if other parameter is not 0/Nan. My first idea was to just replace OR with AND but i'm not sure if there can be any edge cases. So i replaced this check for individual values.

Better fix
@cucumber-sp
Copy link
Contributor Author

@dotnet-policy-service agree

@VladislavAntonyuk VladislavAntonyuk enabled auto-merge (squash) July 3, 2023 22:35
@VladislavAntonyuk VladislavAntonyuk merged commit 0c17bc9 into CommunityToolkit:main Jul 3, 2023
7 checks passed
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.

[BUG] Crash when open popup on iOS
2 participants