Skip to content

Vertical scrollbar is not rendered when RightToLeft = Yes on multiline TextBox #14801

Closed

Description

@Amy-Li03

.NET version

.NET 11.0.100-preview.7.26365.114 + Private dlls built from Net11/Integration-4 branch of https://github.com/KlausLoeffelmann/winforms repo

Did it work in .NET Framework?

Yes

Did it work in any of the earlier releases of .NET Core or .NET 5+?

Not support, new feature

Issue description

When a multiline TextBox has enough content to require scrolling, the vertical scrollbar is displayed correctly by default.
However, after setting: textBox1.RightToLeft = RightToLeft.Yes;, the vertical scrollbar on the left disappears completely, even though the content still exceeds the visible area and scrolling is required.
In addition, there is too much empty space on the right.

The functionality works correctly when moving the mouse over the left area.

Image

Steps to reproduce

  1. Create a new WinForms application with Net11 VisualStylesMode
  2. Add a TextBox to the form.
  3. Set the following properties:
textBox1.Multiline = true;
textBox1.ScrollBars = ScrollBars.Vertical;
textBox1.RightToLeft = RightToLeft.Yes;
  1. Populate the TextBox with enough text to require vertical scrolling
  2. Run the application (or view the form in the designer)
  3. Observe the TextBox when the content exceeds the visible area

Activity

  1. added
    untriaged
    rendering-or-artifacts-issues
    on Jul 22, 2026
  2. self-assigned this
    on Jul 28, 2026
  3. removed
    untriaged
    on Jul 29, 2026
  4. Zheng-Li01 commented on Jul 31, 2026

    @Zheng-Li01
    Member

    Tested in the latest .NET 11 RC1 build: 11.0.100-rc.1.26380.103, it was fixed as below screenshot.

    Image
  5. added this to the 11.0-rc1 milestone on Jul 31, 2026
  6. Olina-Zhang commented on Aug 27, 2026

    @Olina-Zhang
    Member

    Tested in .NET 11 RC1 test pass build: 11.0.100-rc.1.26425.128, it has the same validation result as above.

  7. locked and limited conversation to collaborators on Sep 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

rendering-or-artifacts-issues

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions