react-component / react-component/slider

createSliderWithTooltip is gone in version 10.0.0alpha5 (still present in 9.7.5)

Open
#821 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
768
Avg merge
11d 22h
Merged PRs (30d)
5

Description

steps to reproduce:

  1. Install latest version (10.0.0alpha5)
  2. Try to import and use createSliderWithTooltip, per instructions in readme.md
    Expected: app would show a slider with tooltip
    Actual: console complains that "createSliderWithTooltip' was not found in 'rc-slider'"

Notes:
Searching rc-slider's code for "tooltip" shows only css stuff related to tooltip, at ./rc-slider/assets/index.css. no js addressing anything with the word "tooltip" in it

Workaround:
Install LTS version 9.7.5, where createSliderWithTooltip is working happily ever after.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with readme.md and the 10.0.0alpha5 implementation, then compare the createSliderWithTooltip API with version 9.7.5. Check the tooltip-related references in assets/index.css and verify the documented import and usage path. Done means the reported import works again and the slider displays its tooltip as documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.