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.19.5
3.2.19
Mozilla Firefox 93.0
Arch Linux 5.14.9-zen2-1-zen
v16.10.0
https://codesandbox.io/s/naive-ui-ellipsis-short-content-cursor-pointer-hfn1p?file=/src/App.vue
Use <n-ellipsis expand-trigger="click"> with a short content.
<n-ellipsis expand-trigger="click">
It doesn't have the cursor: pointer style if the content is short.
cursor: pointer
It has the cursor: pointer style, but clicking it has no effect.
If the content is usually short but sometimes long, it will be confusing to have the cursor: pointer style.
The text was updated successfully, but these errors were encountered:
It still has cursor: pointer when :tooltip="false".
:tooltip="false"
https://codesandbox.io/s/naive-ui-ellipsis-short-content-cursor-pointer-forked-m923q?file=/src/App.vue
Sorry, something went wrong.
2f79dff
Successfully merging a pull request may close this issue.
TuSimple/naive-ui version (版本)
2.19.5
Vue version (Vue 版本)
3.2.19
Browser and its version (浏览器及其版本)
Mozilla Firefox 93.0
System and its version (系统及其版本)
Arch Linux 5.14.9-zen2-1-zen
Node version (Node 版本)
v16.10.0
Reappearance link (重现链接)
https://codesandbox.io/s/naive-ui-ellipsis-short-content-cursor-pointer-hfn1p?file=/src/App.vue
Reappearance steps (重现步骤)
Use
<n-ellipsis expand-trigger="click">
with a short content.Expected results (期望的结果)
It doesn't have the
cursor: pointer
style if the content is short.Actual results (实际的结果)
It has the
cursor: pointer
style, but clicking it has no effect.Remarks (补充说明)
If the content is usually short but sometimes long, it will be confusing to have the
cursor: pointer
style.The text was updated successfully, but these errors were encountered: