react-component / react-component/util
Warning: React does not recognize the `switchScrollingEffect` prop on a DOM element.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 670
- Forks
- 205
- Avg merge
- 11d 17h
- Merged PRs (30d)
- 4
Description
Warning: Warning: React does not recognize the switchScrollingEffect prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase switchscrollingeffect instead. If you accidentally passed it from a parent component, remove it from the DOM element.
rc-drawer@4.2.0
rc-util@5.6.6
react@17.0.1
react-dom@17.0.1
and I'm not using ant design
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 reproducing the warning with rc-drawer@4.2.0, rc-util@5.6.6, React 17.0.1, and React DOM 17.0.1, then trace where switchScrollingEffect reaches a DOM element in the utility package. Done means the warning no longer appears while the drawer's scrolling behavior remains intact.
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
- 30/100