naisutech / react-tree

Hierarchical tree component for React in Typescript
https://naisutech.github.io/react-tree/
MIT License
206 stars 25 forks source link

Turn off hover tooltip #89

Open alexbashkov opened 2 years ago

alexbashkov commented 2 years ago

Currently, there is no way to modify or turn off the tooltip text for child elements (if we need a custom text on hover or no help at all). Please advise if this option already exists (didn't find anything for this in the documentation), or if it needs to be added as a new feature.

ortonomy commented 1 year ago

Hi, it's not a tooltip. It's a standard HTML attribute title - it's part of browser functionality. It would need a PR to move to prop and make optional.

alexbashkov commented 1 year ago

Strange, it wasn't so prior to v3 so I would assume it's regression. Now my tree is showing weird hover tooltips ([object] [object]) and is not looking good. It wasn't like that in v2 before.