element-react
element-react copied to clipboard
Scrollbar: Fixed infinite execution of the scrollbar component componentDidUpdate hook function
…Update hook function
Please makes sure these boxes are checked before submitting your PR, thank you!
- [x] Make sure you are merging your commits to
master
branch. - [x] Add some descriptions and refer relative issues for you PR.
- [x] Rebase your commits to make your pull request meaningful.
- [x] Make sure that your changes pass
npm test
,npm run lint
andnpm run build
.
Changes in this pull request
- 修复了滚动条componentDidUpdate钩子函数的无限执行问题
@rookie125 It's been a while since you started this PR - are you still interested in working on this? It looks like the branch needs to be updated and an ESLint error needs to be fixed before this can be merged (it says there's a dependency loop).