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

feat(Dialog): All variants use flex #1269

Merged
merged 5 commits into from
May 17, 2023
Merged

feat(Dialog): All variants use flex #1269

merged 5 commits into from
May 17, 2023

Conversation

FlyersPh9
Copy link
Collaborator

@FlyersPh9 FlyersPh9 commented May 10, 2023

Changes

Closes #1268.

Testing

  • Ran visual tests.
  • Checked in to ensure overflow is working as expected in browser & iOS Simulator.

Docs

https://github.com/iTwin/iTwinUI/wiki/iTwinUI-react-v3-migration-guide#dialog--modal

@FlyersPh9 FlyersPh9 added this to the React 3.0 milestone May 10, 2023
@FlyersPh9 FlyersPh9 self-assigned this May 10, 2023
@FlyersPh9 FlyersPh9 marked this pull request as ready for review May 10, 2023 18:08
@FlyersPh9 FlyersPh9 requested a review from a team as a code owner May 10, 2023 18:08
@FlyersPh9 FlyersPh9 requested review from a team, gretanausedaite and LostABike and removed request for a team May 10, 2023 18:08
.changeset/thirty-lemons-tie.md Show resolved Hide resolved
.changeset/thirty-lemons-tie.md Outdated Show resolved Hide resolved
Copy link
Contributor

@mayank99 mayank99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Lets wait for pending v2 PRs to release (#1250) before merging this.

(Blocking accidental merge using "Request changes".)

@mayank99
Copy link
Contributor

@FlyersPh9 I vaguely recall there were some hacks we needed to do because display: flex was not always present. Think you'll be able to dig through the history and find those?

Here's one I found: #1066 (comment)

We might want to make some changes in the dialog code now that we can assume display: flex is always present.

@FlyersPh9
Copy link
Collaborator Author

@FlyersPh9 I vaguely recall there were some hacks we needed to do because display: flex was not always present. Think you'll be able to dig through the history and find those?

Here's one I found: #1066 (comment)

We might want to make some changes in the dialog code now that we can assume display: flex is always present.

Done, added a bullet to the PR description with more deets.

@mayank99 mayank99 changed the base branch from main to dev May 17, 2023 19:03
Copy link
Contributor

@mayank99 mayank99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now unblocked! Just make sure to update branch or run git merge origin/dev locally before merging.

@FlyersPh9 FlyersPh9 added this pull request to the merge queue May 17, 2023
Merged via the queue into dev with commit b500f20 May 17, 2023
@FlyersPh9 FlyersPh9 deleted the jon/dialog-flex branch May 17, 2023 20:58
@imodeljs-admin imodeljs-admin mentioned this pull request Oct 23, 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.

Dialog should use flex on all variants
2 participants