-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 double padding in Dialog.InnerFlatList
on web
#5986
Conversation
src/components/Dialog/index.web.tsx
Outdated
webInnerStyle, | ||
]}> | ||
]} | ||
contentContainerStyle={[a.px_0]}> |
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.
This is the main line, the rest are cleanups
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.
Seems good, I think we want to also pass in the contentContainerStyle
from props here too though.
|
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.
lgtm with note above
I changed the structure of
Dialog.Inner
around so padding works differently now. Unfortunately,Dialog.InnerFlatList
tries to remove the horizontal padding, which then stopped working. This uses the correct prop to return the style to how it was