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
2.0.0-beta.15
Vue3
https://2x.antdv.com/components/popover-cn/
<a-popover v-model:visible="noticeVisible" arrow-point-at-center placement="bottomRight" trigger="click" :overlayStyle="{ 'width': '300px' }" > <template #content> <div class="notice-title"> <span>应用通知</span> <a-button type="link">清空</a-button> </div> <div class="notice-content"> <div class="notice-item"> <div class="content"> <a-avatar size="small"> <template #icon><UserOutlined /></template> </a-avatar> <span>这是一条新的通知</span> </div> <span>刚刚 15:20</span> </div> <div class="notice-item"> <div class="content"> <a-avatar size="small"> <template #icon><UserOutlined /></template> </a-avatar> <span>这是一条新的通知</span> </div> <span>2020-11-02 15:20</span> </div> <a-button type="link"> 查看更多 </a-button> </div> </template> <div class="notice"> <a-badge dot color="volcano"> <BellOutlined style="fontSize: 16px; color: #FFFFFF;" /> </a-badge> </div> </a-popover>
其中一个位置是正确的,但是另一个位置的 top 和 left 都是有问题的
popover 位置计算有问题,每次点击后的位置会发生变化,会在两个位置之间反复横跳
The text was updated successfully, but these errors were encountered:
临时方案: transitionName=""
Sorry, something went wrong.
fix: popover position not correct #3147
5035771
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
No branches or pull requests
Version
2.0.0-beta.15
Environment
Vue3
Reproduction link
https://2x.antdv.com/components/popover-cn/
Steps to reproduce
What is expected?
其中一个位置是正确的,但是另一个位置的 top 和 left 都是有问题的
What is actually happening?
popover 位置计算有问题,每次点击后的位置会发生变化,会在两个位置之间反复横跳
The text was updated successfully, but these errors were encountered: