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好像有一个异常bug #11976

Closed
1 task
ooxx87 opened this issue Aug 31, 2018 · 5 comments
Closed
1 task

Drawer好像有一个异常bug #11976

ooxx87 opened this issue Aug 31, 2018 · 5 comments
Assignees
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. 🤔 Need Reproduce We cannot reproduce your problem

Comments

@ooxx87
Copy link

ooxx87 commented Aug 31, 2018

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

Version

3.9.0-beta.6

Environment

vscode,谷歌浏览器,antd 3.8.0

Reproduction link

https://new-issue.ant.design/

Steps to reproduce

多tabs页面程序
1.在tabPanel中打开一个Drawer组件
2.不关闭Drawer的情况下直接关闭tabPanel
3.重新打开此tabPanel会引起Drawer的初始化异常
异常代码行数在drawer.js的第370行后面_this3.dom.style.transition 这一段_this3.dom会为undefined

What is expected?

期望得到解决方案,或者对这一段_this3.dom的代码加入判断是否存在

What is actually happening?

不关闭Drawer的情况下直接关闭tabPanel,重新打开此tabPanel会引起Drawer的初始化异常

@ant-design-bot
Copy link
Contributor

Translation of this issue:


Drawer seems to have an exception bug

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

Version

3.9.0-beta.6

Environment

Vscode, google browser, antd 3.8.0

Reproduction link

https://new-issue.ant.design/

Steps to reproduce

Multiple tabs page program

  1. Open a Drawer component in tabPanel
  2. Close tabPanel without closing Drawer
  3. Re-opening this tabPanel will cause the Drawer to initialize abnormally.
    The number of exception code lines is after line 370 of drawer.js _this3.dom.style.transition This section _this3.dom will be undefined

What is expected?

Expect to get a solution, or add the _this3.dom code to determine if there is any

What is actually happening?

Close the tabPanel without closing the Drawer. Re-opening this tabPanel will cause the Drawer to initialize abnormally.

@afc163 afc163 added the help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. label Aug 31, 2018
@IssueHuntBot
Copy link

@BoostIO funded this issue with $15. Visit this issue on Issuehunt

@jljsj33
Copy link
Member

jljsj33 commented Sep 3, 2018

有没有重现 demo???

@ant-design-bot
Copy link
Contributor

Hello @ooxx87. Please provide a online reproduction by forking this link https://u.ant.design/codesandbox-repro. Issues labeled by Need Reproduce will be closed if no activities in 7 days.

@afc163 afc163 added the 🤔 Need Reproduce We cannot reproduce your problem label Sep 8, 2018
@afc163 afc163 closed this as completed Sep 12, 2018
@afc163 afc163 reopened this Sep 12, 2018
@afc163 afc163 closed this as completed Sep 12, 2018
@IssueHuntBot
Copy link

@BoostIO has cancelled funding for this issue.(Cancelled amount: $15.00) See it on IssueHunt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. 🤔 Need Reproduce We cannot reproduce your problem
Projects
None yet
Development

No branches or pull requests

5 participants