react-component / react-component/slider

Error with the Slider with custom handler example

Open
#790 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

I've tried to use the slider with custom handler in a webpage, but I'm constantly getting an error every time I start moving the handle. I've print screened the error trace.
Screenshot 2021-07-16 at 13 05 17

I can't seem to find what the problem is. I've googled about the ForwardRef component and I've tried a few things (such as this, but it didn't work out.

Does anyone have a clue what may be causing this problem?

Thanks

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 the slider's custom handler example and reproduce the problem by moving the handle. Use the linked screenshot as the reported error trace and investigate the ForwardRef-related failure. Done means the custom handler example works without an error while moving the handle.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.