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 what bounds gets reported in layered dialog sessions #1155

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

ekeitho
Copy link
Contributor

@ekeitho ekeitho commented Jan 17, 2024

Layered Dialog Sessions reports the bounds of views so that dialogs can place themselves correctly.

However, when this dialog get's animated we started noticing odd reported values ie)
things like Rect(0, 4 - 1920, 1004), Rect(0, -416 - 1920, 584), Rect(0, -347 - 1920, 653).

In order to guard against these, we ensure that the top of the rect report is at least equal or greater to the devices top-inset.

@ekeitho ekeitho requested review from zach-klippenstein and a team as code owners January 17, 2024 23:43
@CLAassistant
Copy link

CLAassistant commented Jan 17, 2024

CLA assistant check
All committers have signed the CLA.

@rjrjr rjrjr merged commit b6403fb into main Jan 18, 2024
32 checks passed
@rjrjr rjrjr deleted the kabdulla/fix-reported-bounds-layered-dialog-sessions branch January 18, 2024 00:04
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