microsoft / fast

The adaptive interface system for modern web experiences.
https://www.fast.design
Other
9.28k stars 595 forks source link

fix: flipper/horizontal scroll not taking RTL into account #6810

Closed vnbaaij closed 5 months ago

vnbaaij commented 1 year ago

🐛 Bug Report

When using a fluent-flipper or fluent-horizontal-scroll in web components 2.5.16, they are not responding to a LTR->RTL change. That is if my assumption is correct that the direction of the arrow should change then,

💻 Repro or Code Sample

Go to https://explore.fast.design/components/fast-flipper and select the direction switch on the top of the page. Flipper moves to other side but arrow does not change/mirror.

🤔 Expected Behavior

Arrows should mirror when changing direction

😯 Current Behavior

💁 Possible Solution

🔦 Context

🌍 Your Environment

janechu commented 5 months ago

This appears to be related to another project, Fluent UI or Fluent UI Blazor.

vnbaaij commented 5 months ago

No, as said in the repro steps, this can be observed at https://explore.fast.design/components/fast-flipper already. It just trickles through too Fluent UI Web Components

chrisdholt commented 5 months ago

If we can fix it in the stable version we may do it just in Fluent. It looks quite involved with some dragons.