react-component / react-component/slider
Way to apply tooltop to dots?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.1k
- Forks
- 768
- Avg merge
- 11d 22h
- Merged PRs (30d)
- 5
Description
I can see that this was asked before. The last asker was directed to StackOverflow for support. https://github.com/react-component/slider/issues/388. I don't feel that my question is a support question, so I'm asking again. Feel free to close if you feel I am incorrect.
I've looked through the source code for a way to apply a custom tooltip on the dots on the steps bar. It appears the dots are drawn here:
There doesn't appear to be a way to nest any text in there to show a tooltip. Two questions.
- Did I miss something?
- If not, is there interest in a PR to add this functionality?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading src/common/Steps.jsx at the referenced line to see how the step dots are rendered and whether existing customization is available. Determine the intended tooltip behavior and implementation scope; done means establishing whether the current API supports custom dot tooltips or defining the needed feature clearly enough for a PR.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100