carbon-design-system / carbon-addons-iot-react

A collection of React components shared between IBM Watson IoT products.
https://carbon-design-system.github.io/carbon-addons-iot-react/
Apache License 2.0
96 stars 77 forks source link

[DateTimePicker] RTL story issues #2615

Open sstone2423 opened 3 years ago

sstone2423 commented 3 years ago

What package is this for?

Describe the bug

When in RTL mode the "to" is out of place. ie. to Now {DATE} instead of Now to {DATE}

image

When in RTL mode the and setting a relative date the number in the Last input is out of place. It's by the - instead of on the left.

image

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://next.carbon-addons-iot-react.com/?path=/story/1-watson-iot-datetime-picker--default
  2. Observe the above issues

Expected behavior

Story should render correctly for RTL

Environment/versions:

Additional context

If applicable, add screenshots to help explain your problem.

Add any other context about the problem here.

Specific timeline issues / requests

Do you want this work within a specific time period? Is it related to an upcoming release?

NB: The core contributors will try to work with your timeline, but it's not guaranteed. The earlier you make a request in advance of a desired delivery date, the better!

JordanWSmith15 commented 3 years ago

FYI, we are tracking all RTL issues with the "type: RTL" tag. When we have an RTL requirement and commitment for MAS, we will re-prioritize all such items higher.