Skip to content

Mobile: Fix BottomSheet TextInput Cell alignment issue for RTL layout.#13815

Merged
etoledom merged 3 commits intomasterfrom
rnmobile/rtl-fixes
Feb 12, 2019
Merged

Mobile: Fix BottomSheet TextInput Cell alignment issue for RTL layout.#13815
etoledom merged 3 commits intomasterfrom
rnmobile/rtl-fixes

Conversation

@etoledom
Copy link
Copy Markdown
Contributor

Description

This PR fixes an issue related to RTL layout on the BottomSheet cell.

rtl

This was an issue since we are inverting the natural alignment for text inputs, so we had to express this intention on RTL layout too. Sadly text-align: end didn't work (it's not allowed).

To test:
Refer to the related gutenberg-mobile PR.

@etoledom etoledom added the Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change) label Feb 11, 2019
@etoledom etoledom self-assigned this Feb 11, 2019
Copy link
Copy Markdown
Contributor

@daniloercoli daniloercoli left a comment

Choose a reason for hiding this comment

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

LGTM! :shipit:

@etoledom etoledom merged commit 9f5f1c3 into master Feb 12, 2019
@etoledom etoledom deleted the rnmobile/rtl-fixes branch February 12, 2019 17:35
@etoledom
Copy link
Copy Markdown
Contributor Author

Thank you!

@youknowriad youknowriad added this to the 5.1 (Gutenberg) milestone Feb 13, 2019
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
#13815)

* Fix BottomSheet TextInput Cell alignment issue in RTL layout.

* Fix lint issues
youknowriad pushed a commit that referenced this pull request Mar 6, 2019
#13815)

* Fix BottomSheet TextInput Cell alignment issue in RTL layout.

* Fix lint issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Mobile App - i.e. Android or iOS Native mobile impl of the block editor. (Note: used in scripts, ping mobile folks to change)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants