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.
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: Prevent focus ring from getting cut off in Popup.Body #1727
fix: Prevent focus ring from getting cut off in Popup.Body #1727
Changes from 30 commits
00b824a
10135cf
a81c9d5
e146979
646652d
7cd9e13
2a88f10
2389c8a
2e4a4ef
a73de46
8407f75
aa24bcd
c81291c
5c44fb1
05744a3
499b214
cce81dc
cf78dbc
e2dd3ee
3484d99
901a032
2838042
f507f05
880dab0
78797d4
8311a2a
c45a6e7
9f33843
b463883
f1a2e23
4424cfa
5446425
a3ed5a3
1be9adf
5923f19
c880109
6b6224d
baff697
053db05
d86c066
7bebed7
6f4beba
9a7f498
2056502
9f2a8a1
ed58723
de29d1c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that we've removed
Modal.Footer
, it feels odd to me to require consumers to know they needpaddingX="l"
andpaddingBottom="l"
to get theirHStack
Footer to render with complementary padding to matchModal.Body
andModal.Heading
. Previously, this was padding was baked intoModal.Footer
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if we make this a Minor release, it makes sense to add this back in. But I agree the consumer would have to know what padding to add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, the consumer will need to add their own footer (using an
HStack
, for instance) with the appropriate paddings and margins to align with the Heading and Body subcomponents (see screenshot in top-level PR comment). We'll update Popup, Modal, and Dialog examples to include example footers with the needed padding and margin.