Skip to content
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

bug fix 2962 #3094

Merged
merged 1 commit into from
Mar 16, 2020
Merged

bug fix 2962 #3094

merged 1 commit into from
Mar 16, 2020

Conversation

hanykumar
Copy link
Contributor

Hi, Issue: #2962, Buttons fixed.
Screenshot 2020-03-13 at 5 38 20 PM

@@ -380,7 +380,8 @@ export default (variables /* : * */ = variable) => {
shadowOpacity: platformStyle === PLATFORM.MATERIAL ? 0.2 : undefined,
shadowRadius: platformStyle === PLATFORM.MATERIAL ? 1.2 : undefined,
alignItems: 'center',
justifyContent: 'space-between'
justifyContent: 'space-between',
alignSelf: 'flex-start'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do it without using alignSelf? The alignment of the button should be left to the user.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think alignSelf is fine. I don't find any other solution. The alignment of the button is left to the user. Isn't it?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I mean the user might want to align it to the center or to the right. So I think it should be the user's choice, can we use alignSelf: 'auto' and see if that works?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alignSelf: 'auto' will set width to full. But User always has a choice for alignSelf: 'center' whether we set alignSelf: 'flex-start' by default or not.

@sankhadeeproy007 sankhadeeproy007 merged commit feb7a5f into GeekyAnts:master Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants