-
Notifications
You must be signed in to change notification settings - Fork 58
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
Breakages, regressions, and new issues in RTL layout #2133
Comments
Thank you for surfacing these issues, @etoledom!
😱
Agreed w/ all of this.
We'll need a new G2 icon for this, I will ping the designers on web.
@mkevins would you mind taking care of this one?
@jbinda would you mind taking a look at this, as you're currently working on the floating toolbar? If you're not able to, maybe @chipsnyder could take a look? |
No problem I will add RTL support to FloatingToolbar in my PR here
I have just added a function to ColumnBlock PR which handle rotate the Block movers. I believe that we can also use to flip/switch icons between mentioned buttons in Gallery and List block (undo/redo) Here is link to my comment about switch. You can check the whole movers file to get the point in wider scope |
I have implement RTL support for FloatingToolbar: The changes will be introduce with this PR. One note here. Does the I will also handle rest of breakages in separate PR |
I have also add support in Gallery Block and undo/redo button. See below screenshots and PR here edit: |
@jbinda looks solid, thank you for fixing that part of this 😄 |
No problem, there's still some work to do according to my PR TODOs list. @pinarol |
No harm documenting RTL test cases for sure but Sanity testing is done to make sure the basic & most commonly used functionality is not broken. RTL tests would be a bit too much to run bi-weekly imo. @jbinda |
I just thought that having this in sanity-test will also point all other places to check if you doing something with RTL. We can also schedule wider timeframe for RTL in sanity-testing schedule (e.g. once per month) I try to keep sanity-test up to date because it helps me to catch edge case that I might broke in other block during work on some common/shared feature. RTL is one of that kind of feature Please let me know if something changes. |
Good point! I think we should 👍 |
I think I will also check other blocks because I have found issue also in MediaText align in horizontal layout. Icons should be reversed as well because it has rotated orientation according to what layout you see Anyway I will be update the PR code soon. Stay tuned :) edited: @iamthomasbishop what do you think ? |
Amazing 😁
Rotating vertically will make the horizontal lines vertical too, right? We might need a new icon. |
I think so
I think it is kind of UX fix just to be consistent (another example might be the block movers in Columns/Buttons) Can you take a look once again on PR code ? I dropped some comments |
@jbinda I think that would be good.
Good catch. Let's rotate these as well.
I don't think rotating 90% will be a good solution here, we'll need a new icon. Until then let's just use the same mirrored icons as mentioned above. In the long run, this would probably be good, but for now we can just mirror. |
Describe the bug
There have been many new issues in RTL layout.
Related old issue: #1461
Placeholders are gone
This one might be iOS only.
Toolbar buttons and List Block
Galery block and Inner blocks
To Reproduce
Steps to reproduce the behavior:
forceRTL
to true.gutenberg-mobile/src/index.js
Line 36 in 3b62fb9
Right to left Pseudo-language
in language settings in: Product > Scheme > Edit Scheme > Run > Options > Application Language.The text was updated successfully, but these errors were encountered: