We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
建议修改为useLayoutEffect
The text was updated successfully, but these errors were encountered:
👋 @SKcong,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
@SKcong 您好,能否提供個復現的demo,我好排查!
fix(layout): fix layout shake
9a736fa
fix Tencent#2088
6a629e3
fixed 1.6.0
No branches or pull requests
这个功能解决了什么问题
useEffect是在组件render后才执行的,Layout组件在useEffect中去修改样式,会导致闪一下的问题
你建议的方案是什么
建议修改为useLayoutEffect
The text was updated successfully, but these errors were encountered: