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 resizable dialog issues #1424

Merged
merged 8 commits into from
Jul 24, 2023
Merged

fix resizable dialog issues #1424

merged 8 commits into from
Jul 24, 2023

Conversation

mayank99
Copy link
Contributor

@mayank99 mayank99 commented Jul 20, 2023

Changes

  1. Added back overflow: hidden to dialog.
  2. Added min-height to all dialogs rather than only draggable ones. Based on Added min-height for draggable dialog #1046.
  3. Used :has/data-iui-flex to add display: flex only when Dialog.Content is used. This is the same as feat(Dialog): All variants use flex #1269 but non-breaking.

All of these changes help towards points 1, 2 and 5 mentioned in iTwin/appui#363 (comment).

Testing

Before:

Screen.Recording.2023-07-21.at.12.08.36.PM.mov

After:

Screen.Recording.2023-07-21.at.12.06.52.PM.mov

Docs

Added changeset.

@mayank99 mayank99 changed the base branch from dev to main July 21, 2023 13:29
@mayank99 mayank99 changed the title fix resizable dialog overflow fix resizable dialog issues Jul 21, 2023
@mayank99 mayank99 marked this pull request as ready for review July 21, 2023 16:16
@mayank99 mayank99 requested review from a team as code owners July 21, 2023 16:16
@mayank99 mayank99 requested review from gretanausedaite and adamhock and removed request for a team July 21, 2023 16:16
@mayank99 mayank99 merged commit 4e94d16 into main Jul 24, 2023
@mayank99 mayank99 deleted the mayank/resizable-dialog-overflow branch July 24, 2023 14:29
This was referenced Jul 24, 2023
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.

2 participants