Skip to content
New issue

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

Popover 组件能否像antd 一样加一个arrow属性,有时候并不需要这个箭头,谢谢 #7420

Closed
1 task
briver0825 opened this issue Mar 11, 2024 · 3 comments · Fixed by #7459
Closed
1 task

Comments

@briver0825
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

可以通过arrow = false,隐藏箭头

What does the proposed API look like?

:arrow = "false"

@briver0825
Copy link
Author

类似于这样
image
https://ant.design/components/popover-cn

@qppq54s
Copy link

qppq54s commented Mar 11, 2024

是不是可以尝试修改css 属性来实现

.ant-popover .ant-popover-arrow {
    display: none;
}

@briver0825
Copy link
Author

briver0825 commented Mar 11, 2024

是不是可以尝试修改css 属性来实现

.ant-popover .ant-popover-arrow {
    display: none;
}

谢谢,但是我认为这不是好的解决方法

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants