WordPress-Android icon indicating copy to clipboard operation
WordPress-Android copied to clipboard

The template previews are off to the right when choosing a site design in RTL languages

Open ovitrif opened this issue 3 years ago • 4 comments

Expected behavior

The templates preview thumbnails are centered for all languages.

Actual behavior

The templates preview thumbnails are not centered for RTL languages.

Steps to reproduce the behavior

  1. Set the application language to Hebrew or Arabic
  2. Start the site creation flow
  3. Navigate till you are on the step to choose the template / design / theme
  4. Notice that the templates preview thumbnails are aligned to the right.

Previews

English Hebrew Arabic
english hebrew arabic
Tested on Samsung Galaxy S8+, Android 9, WPAndroid 19.7

Discovered while testing #16428

ovitrif avatar May 02 '22 11:05 ovitrif

The issue is still reproduced in the new design. Screenshot_20220526_171255 We could initially focus on the client side and the category titles alignment. The mShots issue can be handled separately on the server.

antonis avatar May 26 '22 14:05 antonis

Hello, I will fix this issue.

carl-duncan avatar May 27 '22 12:05 carl-duncan

Hello, I will fix this issue.

Thank you for stepping forward with this (too) @carl-duncan 🙇 Let us know if we can help. We'll be happy to review your PR 🥇

antonis avatar May 27 '22 12:05 antonis

Confirmed the issue is with the library MShots , fixed the title alignment while that is resolved however: https://github.com/wordpress-mobile/WordPress-Android/pull/16673

carl-duncan avatar May 31 '22 19:05 carl-duncan