react-component / react-component/slider

Tip out of place on first load

Open
#809 0 comments 0 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

The tooltip is loading out of place on the first component load, if I move it goes to the correct place and works as intended, just on the first load is a bit annoying for it to be out of place, am i setting it up the wrong way? I tried downgrading the package version, adding the tooltip in different ways and I still have this bug. some pics show what i mean:
Screenshot 2022-02-18 at 15 00 44
Screenshot 2022-02-18 at 15 01 27

I'm using rc-slider verison 9.7.5, thanks for the help

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 by reproducing the first-load tooltip placement with rc-slider version 9.7.5, then compare it with the placement after the tooltip is moved. The issue is done when the tooltip is positioned correctly on its initial component load as well as after interaction.

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
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.