Repository navigation
Conversation
|
|
| * ion-picker-column does not have mode-specific styling for document direction | ||
| */ | ||
| configs({ modes: ['ios'] }).forEach(({ title, config, screenshot }) => { | ||
| test.describe(title('picker-column: document direction'), () => { |
There was a problem hiding this comment.
It looks like we have RTL screenshots in picker/test/basic (the screenshots that got updated). What does this test do differently?
There was a problem hiding this comment.
Not really, I was on the fence of whether it would be beneficial. I figured that it would be rejected during a review if that was the case. I'll remove it.
There was a problem hiding this comment.
If it helps, you can always note in the PR description that the behavior is already tested. 👍
There was a problem hiding this comment.
Thanks, I've updated the PR description.
liamdebeasi
left a comment
There was a problem hiding this comment.
Looks good to me. I'm going to have Brandy take a look too in case she knows of any "gotchas" from when direction: ltr was originally applied.
|
Adding The specific issue related to this is #16294 and the PR was #17018 We might need to do some more investigation into this as this was feedback from our RTL users. Maybe we should make sure we cover their use cases or have documentation for how to achieve it before making this change. |
The current fix is only changing the |
Issue number: resolves #21205 --------- <!-- Please do not submit updates to dependencies unless it fixes an issue. --> <!-- Please try to limit your pull request to one type (bugfix, feature, etc). Submit multiple pull requests if needed. --> ## What is the current behavior? <!-- Please describe the current behavior that you are modifying. --> `picker-column` keeps using LTR display when using RTL. LTR: `Column 1 Column 2` RTL: `Column 1 Column 2` ## What is the new behavior? <!-- Please describe the behavior or changes that are being added by this PR. --> `picker-column` correctly displays for RTL. LTR: `Column 1 Column 2` RTL: `Column 2 Column 1` ## Does this introduce a breaking change? - [ ] Yes - [x] No <!-- If this introduces a breaking change, please describe the impact and migration path for existing applications below. --> ## Other information <!-- Any other information that is important to this PR such as screenshots of how the component looks before and after the change. --> This PR is already being tested through the `picker -> basic` and `picker -> value` screenshots. Due to those tests, a new test is not needed to verify the fix. The current fix is only changing the `picker` and `picker-column`. The `datetime` and `datetime-button` do not change, leaving the format up to the users. It wouldn't change the functionality that was provided through PR #17018. --------- Co-authored-by: ionitron <[email protected]>
Issue number: resolves #21205
What is the current behavior?
picker-columnkeeps using LTR display when using RTL.LTR:
Column 1 Column 2RTL:
Column 1 Column 2What is the new behavior?
picker-columncorrectly displays for RTL.LTR:
Column 1 Column 2RTL:
Column 2 Column 1Does this introduce a breaking change?
Other information
This PR is already being tested through the
picker -> basicandpicker -> valuescreenshots. Due to those tests, a new test is not needed to verify the fix.The current fix is only changing the
pickerandpicker-column. Thedatetimeanddatetime-buttondo not change, leaving the format up to the users. It wouldn't change the functionality that was provided through PR #17018.