ElemeFE / ElemeFE/element-react

Carousel:卡顿

Open
#1,067 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2.8k
Forks
435
PR merge metrics
No merged PRs in 30d

Description

我的页面中有个侧边栏的menu(侧边栏可伸缩),正文是Carousel,使用的是自动播放,播放时间长了之后,侧边栏伸缩卡顿

"element-react": "^1.4.34",
"element-theme-default": "^1.4.13",
"react": "16.8.6",

console报的是这个错:
Can't perform a React state update on an unmounted component. This is a no-op, but it indicates a memory leak in your application. To fix, cancel all subscriptions and asynchronous tasks in the componentWillUnmount method.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.