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

drawer 当设置native-scrollbar为false时, slot footer的 位置错误 #2003

Closed
jahnli opened this issue Dec 23, 2021 · 6 comments · Fixed by #2017
Closed

drawer 当设置native-scrollbar为false时, slot footer的 位置错误 #2003

jahnli opened this issue Dec 23, 2021 · 6 comments · Fixed by #2017
Labels
bug Something isn't working

Comments

@jahnli
Copy link
Collaborator

jahnli commented Dec 23, 2021

TuSimple/naive-ui version (版本)

2.23.1

Vue version (Vue 版本)

3.2.26

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

chrome

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

windows

Node version (Node 版本)

Reappearance link (重现链接)

https://codesandbox.io/s/busy-dream-x4gxd

Reappearance steps (重现步骤)

drawer 当设置native-scrollbar为false时, slot footer的 位置错误

Expected results (期望的结果)

应该保持一致

Actual results (实际的结果)

drawer 当设置native-scrollbar为false时, slot footer的 位置错误

Remarks (补充说明)

@github-actions github-actions bot added the untriaged need to sort label Dec 23, 2021
@jahnli
Copy link
Collaborator Author

jahnli commented Dec 23, 2021

设置前 设置后
image

image

@Talljack
Copy link
Contributor

@07akioni

@Talljack Talljack added bug Something isn't working and removed untriaged need to sort labels Dec 24, 2021
@07akioni
Copy link
Collaborator

你应该把 native-scrollbar=false 设在 content 上,drawer 和 content 都有这个属性,只有正确的组合才能搞出东西来

@07akioni
Copy link
Collaborator

@07akioni
Copy link
Collaborator

@jahnli

@07akioni
Copy link
Collaborator

不过确实发现了一个 BUG,虽然和这个 issue 本身的场景无关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants