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

remove overflow and inline transform from Dialog #1795

Merged
merged 5 commits into from
Jan 25, 2024
Merged

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented Jan 24, 2024

Changes

This PR removes a bunch of code added in #1424 and #1693.

Testing

Existing tests pass. Verified in Chrome Windows that there is no blurring and that the dialog repositions when the window is resized.

Screen.Recording.2024-01-24.at.3.51.57.PM.mov

Docs

Added changeset.

@mayank99 mayank99 self-assigned this Jan 24, 2024
@mayank99 mayank99 marked this pull request as ready for review January 24, 2024 20:55
@mayank99 mayank99 requested review from a team as code owners January 24, 2024 20:55
@mayank99 mayank99 requested review from siddhantrawal and removed request for a team January 24, 2024 20:55
@mayank99 mayank99 merged commit 5279acb into main Jan 25, 2024
11 checks passed
@mayank99 mayank99 deleted the mayank/dialog-overflow branch January 25, 2024 15:30
@imodeljs-admin imodeljs-admin mentioned this pull request Jan 25, 2024
mayank99 added a commit that referenced this pull request Jan 25, 2024
(backported to v2)

This fixes blurring and avoids issues with dialog becoming off-center when the window is resized.

The overflow is already handled by Dialog.Content, which is required in v3 but optional in v2. For this reason, I've kept some of the checks around (even though they were removed in #1795).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants