react-component / react-component/util

Warning: React does not recognize the `switchScrollingEffect` prop on a DOM element.

Open
#196 0 comments 0 reactions 0 assignees View on GitHub

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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.