Skip to content

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 a team and zach-klippenstein 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
@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.

4 participants