Skip to content

fix(controls): Fixed scroll buttons on horizontal ScrollBar for RTL FlowDirection#1690

Merged
pomianowski merged 1 commit intolepoco:mainfrom
Alex4SSB:HorizontalScrollViewer
Apr 19, 2026
Merged

fix(controls): Fixed scroll buttons on horizontal ScrollBar for RTL FlowDirection#1690
pomianowski merged 1 commit intolepoco:mainfrom
Alex4SSB:HorizontalScrollViewer

Conversation

@Alex4SSB
Copy link
Copy Markdown
Contributor

SymbolRegular.CaretRight24 is defined for the PART_ButtonScrollRight of UiHorizontalScrollBar, and vice versa for the left one. In right-to-left flow direction, since the whole scroll bar is reversed, this causes the CaretRight24 to be displayed visually on the left side.

Pull request type

Please check the type of change your PR introduces:

  • Update
  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes

What is the current behavior?

When using RTL FlowDirection, any controls displaying a HorizontalScrollBar will have "swapped" scroll buttons:

image

What is the new behavior?

The symbols are switched for the scroll buttons with one another when FlowDirection is RTL.

@Alex4SSB Alex4SSB requested a review from pomianowski as a code owner April 18, 2026 16:35
@github-actions github-actions Bot added controls Changes to the appearance or logic of custom controls. styles Topic is related to styles PR Pull request release labels Apr 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

controls Changes to the appearance or logic of custom controls. PR Pull request release styles Topic is related to styles

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants