Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer, switchScrollingEffect prop on DOM element #20175

Closed
IndProgo opened this issue Dec 10, 2019 · 8 comments · Fixed by #20242
Closed

Drawer, switchScrollingEffect prop on DOM element #20175

IndProgo opened this issue Dec 10, 2019 · 8 comments · Fixed by #20242
Assignees
Labels

Comments

@IndProgo
Copy link

@IndProgo IndProgo commented Dec 10, 2019

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

open browser console and press Open button to open drawer

What is expected?

Not forwarding react prop to DOM element

What is actually happening?

Console shows error warning: React does not recognize the switchScrollingEffect prop on a DOM element.

Environment Info
antd 3.26.2
React 16
System windows
Browser any

DrawerChild component forwards switchScrollingEffect prop from PortalWrapper to div element.

@shaodahong

This comment has been minimized.

Copy link
Collaborator

@shaodahong shaodahong commented Dec 11, 2019

@Lind-pro

This comment has been minimized.

Copy link

@Lind-pro Lind-pro commented Dec 12, 2019

@zombieJ 这个BUG什么时候可以解决呢?

@gaoruyi

This comment has been minimized.

Copy link

@gaoruyi gaoruyi commented Dec 13, 2019

在线催

@yoyo837

This comment has been minimized.

Copy link
Collaborator

@yoyo837 yoyo837 commented Dec 13, 2019

rc-drawer@3.1.0 released.

@Lind-pro

This comment has been minimized.

Copy link

@Lind-pro Lind-pro commented Dec 13, 2019

rc-drawer@3.1.0 released.

升级了rc-drawer版本为3.1.0还是有这个错误。。
import { Drawer } from "antd"; 替换成 import Drawer from 'rc-drawer';好像也不少错误。

@yoyo837

This comment has been minimized.

Copy link
Collaborator

@yoyo837 yoyo837 commented Dec 13, 2019

antd 升依赖.

@shaodahong

This comment has been minimized.

Copy link
Collaborator

@shaodahong shaodahong commented Dec 13, 2019

Waiting for me fix this, now rc-drawer not upgraded in antd

@Lind-pro

This comment has been minimized.

Copy link

@Lind-pro Lind-pro commented Dec 13, 2019

Waiting for me fix this, now rc-drawer not upgraded in antd

好吧。等你升级

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
7 participants
You can’t perform that action at this time.