Skip to content

Ability to not use button container for tree custom slot #4424

@develar

Description

@develar

Description

I want to make the text in a custom slot for a tree item child selectable.
The issue is that user-select: text doesn’t work on <button> elements in Safari (I’m using a Tauri app).

It would be great if the component allowed using a custom slot that avoids rendering a for certain items. (Perhaps a new slot could be added to allow custom rendering?).

Image

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions