-
Notifications
You must be signed in to change notification settings - Fork 7.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
feat(filmstrip/toolbox) mobile ui updates #11051
Conversation
@@ -364,7 +364,10 @@ class Conference extends AbstractConference<Props, State> { | |||
|
|||
<LonelyMeetingExperience /> | |||
|
|||
{ _shouldDisplayTileView || <><Filmstrip /><Toolbox /></> } | |||
{ _shouldDisplayTileView || <> | |||
<Filmstrip _toolboxVisible = { _toolboxVisible } /> |
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.
Can you pl remove the explicit prop and make it internal to the filmstrip?
@@ -59,6 +61,7 @@ function Toolbox(props: Props) { | |||
} | |||
|
|||
const { _styles, _width, _reactionsEnabled } = props; | |||
const bottomEdge = Platform.OS === 'ios' && props._visible; |
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.
Destructure _visible above?
justifyContent: 'space-between', | ||
margin: BaseTheme.spacing[2] | ||
paddingLeft: BaseTheme.spacing[2], |
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.
You can simplify this with paddingHorizontal
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 removed.
@@ -45,7 +45,8 @@ export default { | |||
flexDirection: 'row', | |||
flexGrow: 0, | |||
justifyContent: 'flex-end', | |||
marginBottom: BaseTheme.spacing[1] | |||
marginHorizontal: 6, |
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.
Simplify with margin:
?
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.
Works great now! 🚀
No description provided.