-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
V/H Centering of Modal Broken (After Upgrade to SUI 2.3) #2549
Comments
Valid issue. I created a codesandbox example to complete the bug report form. https://codesandbox.io/s/r08o8v4z3n Community PRs are welcome. |
@mcrawshaw you may want to stick to 2.2.* for now since 2.3.0 just came out today. There are likely going to be some other issues that pop up too. |
Two things will need to happen to get this to work the way SUI does it in 2.3.
The question here is timing. This is actually a fairly significant change. I think some people will potentially have install bases of CSS that they will not be able to update/recompile soon. I am proposing what we do is add the ability to keep the existing functionality for modals for the time being if people want by adding a boolean My thought here is that even though it would be a breaking change, I think the defaultProp for @levithomason @layershifter thoughts? |
Thanks for the report @mcrawshaw and for the investigation @brianespinosa. I would shy away from temporary public API updates. I'd support declaring that SUIR 0.78.x requires SUI 2.2, update the SUIR Modal for SUI 2.3 and ship it as SUIR 0.79.x. Thoughts? |
Per #2550, let's go with the breaking change upgrade path. |
Sounds good. Any PR on this will need to also update the docs to make not of this. |
Sorry about the incompatibilities, I wasn't aware at the time SUIR css wasn't pinned to a specific SUI release. |
Closing in favor of #2550 |
This bug is really bad. |
Steps
View working modals after update to SUI 2.3
Expected Result
No change
Actual Result
Modal are now position in top-left (with some of the modal clipped)
Version
SUI 2.3 / RSUI 0.78.2
The text was updated successfully, but these errors were encountered: