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

grid 同时使用 span(字符串)suffix 后 span 计算 NaN #4635

Closed
hairyf opened this issue Mar 24, 2023 · 0 comments · Fixed by #4639
Closed

grid 同时使用 span(字符串)suffix 后 span 计算 NaN #4635

hairyf opened this issue Mar 24, 2023 · 0 comments · Fixed by #4639
Labels
untriaged need to sort

Comments

@hairyf
Copy link

hairyf commented Mar 24, 2023

TuSimple/naive-ui version (版本)

2.34.3

Vue version (Vue 版本)

3.2.47

Browser and its version (浏览器及其版本)

任何浏览器

System and its version (系统及其版本)

MacOS

Reappearance link (重现链接)

https://codesandbox.io/s/blissful-grass-k5w121?file=/src/Demo.vue

Reappearance steps (重现步骤)

同时使用 span(字符串)和 suffix 属性

Expected results (期望的结果)

grid-column 应该是正确计算的值,并且在换行时 suffix 的元素不应该往后移,应该和上面元素保持平面

Actual results (实际的结果)

grid-column: NaN,且换行后元素位置不准确

Remarks (补充说明)

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

Successfully merging a pull request may close this issue.

1 participant