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

修改heightMedium中的值为 vw单位后select无法显示选择面板 #6649

Open
5 tasks done
jc840031139 opened this issue Dec 27, 2024 · 3 comments
Open
5 tasks done
Labels
untriaged need to sort

Comments

@jc840031139
Copy link

描述错误

通过ConfigProvider注入 common > heightMedium的值为vw select点击后不显示面板

复现步骤

全部最新的项目即可 官网提供的主题修改里就可复现

最小复现链接

官网即可复现

系统信息

System:
    OS: macOS 15.1.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 2.62 GB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.17.0 - ~/.local/state/fnm_multishells/42014_1735206622606/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 10.8.2 - ~/.local/state/fnm_multishells/42014_1735206622606/bin/npm
    pnpm: 9.10.0 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 131.0.6778.205
    Safari: 18.1.1
  npmPackages:
    naive-ui: ^2.40.4 => 2.40.4 
    vue: ^3.5.12 => 3.5.13

使用的包管理器

pnpm

验证

@jc840031139 jc840031139 added the untriaged need to sort label Dec 27, 2024
@jc840031139
Copy link
Author

image

@jahnli
Copy link
Collaborator

jahnli commented Dec 27, 2024

是不是只支持 px

@jc840031139
Copy link
Author

不是只支持 px

我大概看了一下源码中 应该是虚拟滚动这块导致的 其中是取出我传入的vw 然后调了depx方法 取到的值的是nan

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

No branches or pull requests

2 participants