Skip to content

Tree: text goes outside selected #8536

Description

@mem70

Describe the bug
Selection decoration doesn't surround the item text

Image

Steps to reproduce:

  • Insert a tree inside a fixed width div so that when you expand nodes a horizontal scrollbar appears;
  • Select an item

Reproducer:
https://stackblitz.com/run?file=src%2FApp.jsx
Resize the preview untill the horizontal bar appears
System Information
"primeicons": "^7.0.0",
"primereact": "10.9.7",
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-intl": "^7.1.11",

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

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions