-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
NPopover doesn't display when triggered using NFloatButton #5933
Labels
bug
Something isn't working
Comments
There's an issue with the popover component. It is a workaround, wrapping an element of the trigger slot. <template>
<n-tooltip trigger="hover" placement="right">
<template #trigger>
<span style="display: inline-block">
<n-float-button position="relative">
<n-icon>
<cash-icon />
</n-icon>
</n-float-button>
</span>
</template>
Lpsum
</n-tooltip>
</template> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Steps to reproduce
https://www.naiveui.com/en-US/light/components/float-button#tooltip.vue
Link to minimal reproduction
https://www.naiveui.com/en-US/light/components/float-button#tooltip.vue
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: