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
3.10.9
antd 3.10.8 "react": "^16.6.3",
https://codepen.io/llsldwy/pen/PxxKGV?&editors=001
滚动滚动条至 图钉fixed,然后折叠左侧导航,图钉位置经过重新计算,但是width计算出错
滚动滚动条至 图钉fixed,然后折叠左侧导航,图钉位置经过重新计算,width计算正确
The text was updated successfully, but these errors were encountered:
@issuehuntfest has funded $20.00 to this issue. See it on IssueHunt
Sorry, something went wrong.
试了一下,给你提供几个解决方案: 1、setTimeout(()=>{ this.affix.updatePosition(new Event('resize')); },200); 2、setTimeout(()=>{ window.dispatchEvent(new Event('resize')); },200);
@he-zhiyong 谢谢,问题已经解决了,只不过是自己写的,如果左侧菜单收起,js 重新计算区域的宽度,不过您提供的两个方式,回去我看看,感觉比我的灵活不少,赞
@zombieJ has rewarded $14.00 to @zombieJ. See it on IssueHunt
yesmeck
No branches or pull requests
Version
3.10.9
Environment
antd 3.10.8 "react": "^16.6.3",
Reproduction link
https://codepen.io/llsldwy/pen/PxxKGV?&editors=001
Steps to reproduce
滚动滚动条至 图钉fixed,然后折叠左侧导航,图钉位置经过重新计算,但是width计算出错
What is expected?
滚动滚动条至 图钉fixed,然后折叠左侧导航,图钉位置经过重新计算,width计算正确
What is actually happening?
滚动滚动条至 图钉fixed,然后折叠左侧导航,图钉位置经过重新计算,但是width计算出错
The text was updated successfully, but these errors were encountered: