microsoft / fluentui

Fluent UI web represents a collection of utilities, React components, and web components for building web applications.
https://react.fluentui.dev
Other
18.57k stars 2.74k forks source link

[Bug]: Listbox , Select , ComboBox items indicator not shown correctly in Righ-To-Left direction: #33210

Open NabaviFard-Mahdi opened 2 weeks ago

NabaviFard-Mahdi commented 2 weeks ago

Component

Other...

Package version

2

@microsoft/fast-element version

2

Environment

System: OS: Windows 10 10.0.19045 CPU: (8) x64 Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz Memory: 4.86 GB / 15.87 GB Browsers: Edge: Chromium (127.0.2651.74) Internet Explorer: 11.0.19041.4355

Current Behavior

the listbox indicator dos not show correct in RTL mode displayed on the left side instead of the right side this bug is also exists in combobox , select or components that used fluent-option Image Image Image

Expected Behavior

the indicator displayed on the right side in RTL mode

Reproduction

https://stackblitz.com/edit/stackblitz-starters-7rcpbd?file=index.html

Steps to reproduce

1- Open Link https://learn.microsoft.com/en-us/fluent-ui/web-components/components/listbox?pivots=typescript 2- goto Example Section 3- in css tab 4- add direction:rtl; in body

body {
  padding: 1em;
  direction:rtl;
}

fluent-accordion-item div.panel {
  padding: 12px 10px 12px;
  margin: 12px 0 12px;
}

Image

Are you reporting an Accessibility issue?

None

Suggested severity

High - No workaround

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

ling1726 commented 2 weeks ago

FYI @chrisdholt, can you assign this to the SME in web components?

chrisdholt commented 4 days ago

The tag on this shows v3, but these have not shipped yet in v3.

NabaviFard-Mahdi commented 2 days ago

Sorry, it was my mistake. The bug is in version 2.