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 dialog size issue on successful closure #18468

Closed
mkevins opened this issue May 19, 2023 · 0 comments · Fixed by #18470
Closed

Fix dialog size issue on successful closure #18468

mkevins opened this issue May 19, 2023 · 0 comments · Fixed by #18470

Comments

@mkevins
Copy link
Contributor

mkevins commented May 19, 2023

For some reason, the Compose dialog does not change it's height after recomposition. I believe this is related with a known issue: https://issuetracker.google.com/issues/221643630. This task is to investigate this issue, and potential workarounds until it is resolved upstream.

One possible work-around worth a quick exploration is to set usePlatformDefaultWidth to false in the DialogProperties. Though the issue is related with height, this seems to fix the stale height issue. But, this means we must also take on the responsibility of defining a width (instead of relying on the platform default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant