-
Notifications
You must be signed in to change notification settings - Fork 85
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: resolve layout issues with sticky footer forms inside Carbon modal components (FE-6816) #6990
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
3 times, most recently
from
September 26, 2024 13:09
0a33c82
to
a6cbfdf
Compare
Parsium
changed the title
fix(dialog): prevent overflow when it contains a sticky form
fix(dialog): prevent overflow when it contains a sticky form (FE-6816)
Sep 26, 2024
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
3 times, most recently
from
September 26, 2024 14:30
8d1502f
to
b172b5e
Compare
DipperTheDan
previously approved these changes
Sep 27, 2024
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
10 times, most recently
from
October 3, 2024 13:19
d171508
to
13e8191
Compare
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
2 times, most recently
from
October 17, 2024 12:42
489ec31
to
5175309
Compare
DipperTheDan
previously approved these changes
Oct 18, 2024
edleeks87
previously approved these changes
Oct 18, 2024
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
2 times, most recently
from
October 22, 2024 15:22
6f648cc
to
338e5db
Compare
DipperTheDan
approved these changes
Oct 22, 2024
edleeks87
approved these changes
Oct 22, 2024
@Parsium looks good to me. |
paulrobinson88
approved these changes
Oct 23, 2024
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
2 times, most recently
from
October 23, 2024 14:45
4d37589
to
7f5273a
Compare
Parsium
changed the title
fix: resolve overflow issue with a sticky footer form in a scrollable modal (FE-6816)
fix: resolve layout issues with sticky footer forms inside Carbon modal components (FE-6816)
Oct 23, 2024
…dal components Fixes a layout issue, where content inside of a sticky footer `Form` would overflow outside of a parent Carbon modal component, such as `Dialog`, `DialogFullscreen` and `Sidebar`, at smaller screen sizes. Utilises CSS Flexbox more internally, to improve how each component adapts to changes in screen size. closes #6969
Tweaks how an opened `Dialog` is centred in the middle of the screen, while ensuring it never exceeds 90% of the viewport height.
…al components Fixes other layout issues observed when a sticky footer `Form` is placed inside of a Carbon modal component such as `Dialog`, `DialogFullscreen`, or `Sidebar`.
Parsium
force-pushed
the
FE-6816/dialog-overflow
branch
from
October 23, 2024 14:51
7f5273a
to
0fe249d
Compare
🎉 This PR is included in version 144.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
closes #6969
Proposed behaviour
Form
with a sticky footer in:Dialog
DialogFullscreen
Sidebar
Dialog
height never exceeds 90% of the viewport heightCurrent behaviour
Form
is placed inside aDialog
,DialogFullscreen
andSidebar
, it's possible for the form's content to overflow the modal at small screen sizes:Checklist
d.ts
file added or updated if requiredQA
Testing instructions
Dialog
DialogFullscreen
Sidebar