-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Resolved the Composer text vertical alignment #10394
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
Changes from all commits
45ced1e
c9b3f81
4cba454
0ad4afb
d07cd6a
2a9b216
5ed5e48
3678d76
c3d9ac1
5525709
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1417,11 +1417,17 @@ const styles = { | |
| }, | ||
|
|
||
| textInputComposeSpacing: { | ||
| paddingVertical: 6, | ||
| paddingVertical: 1, | ||
|
liyamahendra marked this conversation as resolved.
|
||
| alignSelf: 'center', | ||
|
Comment on lines
-1420
to
+1421
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Again adding Are we sure it won't break anything on other platforms?
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could move code to StyleUtils and define platform-specific styles. cc: @Julesssss What do you think?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Yes, I did test out on other platforms!
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Depends on whether the styling works for all platforms or not... Would prefer to have a single consistent style, if possible |
||
| ...flex.flexRow, | ||
| flex: 1, | ||
| }, | ||
|
|
||
| inputComposerPadding: { | ||
| flex: 4, | ||
| paddingVertical: 4, | ||
| }, | ||
|
|
||
| chatItemSubmitButton: { | ||
| alignSelf: 'flex-end', | ||
| borderRadius: 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.
Why this?
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.
Apart from
flex4, I had to add more styling and sostyles.inputComposerPaddingThere 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.
I'm asking about why defaultValue prop was added here?