-
Notifications
You must be signed in to change notification settings - Fork 441
Open
Description
Description
在Select 组件上经常发生报错,会导致页面崩溃
Reproduce Steps
不太确认复现步骤,应该是Select组件快速 mount和unmount,结果element.__resizeListeners__.splice里的__resizeListeners__是undefined
Error Trace (if possible)
clientMiddleware.js:43 [clientMiddleware] error catched! error: TypeError: Cannot read property 'splice' of undefined
at removeResizeListener (resize-event.js:185)
at ProxyComponent.componentWillUnmount (Select.js:190)
at ProxyComponent.proxiedComponentWillUnmount (createPrototypeProxy.js:81)
It's better to post up the error stack for us to trace this issue.
Solution
What needs to be done to address this issue? Ideally, provide a pull request with a fix.
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels