naive-ui
naive-ui copied to clipboard
The built-in button in Popover cannot be used with text wrapping.
Describe the bug
As set out in the below screenshot, the button is too long without text wrapping.
It seems that Arco Design has a better solution: https://arco.design/vue/component/popover
Steps to reproduce
N/A
Link to minimal reproduction
Code: https://github.com/hyp530/vitepress-naiveui/blob/main/docs/markdown-examples.md?plain=1
System Info
Not relevant.
Used Package Manager
npm
Validations
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- [X] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
- [ ] The provided reproduction is a minimal reproducible example of the bug.
Please provide any reprodution.
This makes it easier to recognize a problem and, if necessary, we can suggest a solution or workaround based on the example.