Skip to content

[ColorSpectrum] Mirrored when app flow direction is RightToLeft #10798

Description

Describe the bug

Color Spectrum is mirrored when the FlowDirection is inherited as RightToLeft

Why is this important?

This is just unexpected behavior for the RTL language environment. Graphs still flow LTR, so the color spectrum should still have low hue values on the left and high hue on the right by default.

(If a developer really wants to mirror it, they can explicitly set the FlowDirection on the control, but its default style should override it to LeftToRight)

Steps to reproduce the bug

Add FlowDirection="RightToLeft" at any layer above the ColorPicker or ColorSpectrum.

Actual behavior

In RightToLeft mode, lower hue values appear on the right
Image

Expected behavior

Even when in RightToLeft mode, lower hue values should appear on the left
Image

Screenshots

No response

NuGet package version

None

Windows version

No response

Additional context

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions