-
Notifications
You must be signed in to change notification settings - Fork 4k
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
横向滚动条的位置 #4294
Comments
Translation of this issue:Lateral position of the sliderWhat problem does this feature solve?Both have transverse vertical scroll bar scroll bar, you need to drag the bottom of the vertical scroll bar to use the horizontal scroll bar. This is a disastrous design. What does the proposed API look like?Horizontal scroll bar can be suspended in the bottom of the screen. |
Hello @wucaibin. Please provide a online reproduction by forking this link https://stackblitz.com/edit/ng-zorro-antd-start or a minimal GitHub repository. 你好 @wucaibin, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击 此处 创建一个 stackblitz 或者提供一个最小化的 GitHub 仓库 |
具体哪个组件,什么情况下碰到的这个情况 |
table 表格。 [nzScroll]="{ x: '1100px' }" [nzScroll]="{ y: '240px' }" 横向和纵向滚动条都有。如果有100行数据,需要将纵向滚动条拉到最底部,才能使用横向滚动条。论坛里好像也有不少人提这个问题。有没有什么设置能让横向滚动条悬浮在底部,不管纵向滚动条在什么位置都能使用横向滚动条?
…------------------ 原始邮件 ------------------
发件人: "Yadong Xie"<notifications@github.com>;
发送时间: 2019年10月15日(星期二) 中午11:36
收件人: "NG-ZORRO/ng-zorro-antd"<ng-zorro-antd@noreply.github.com>;
抄送: "吴才彬"<65581451@qq.com>; "Mention"<mention@noreply.github.com>;
主题: Re: [NG-ZORRO/ng-zorro-antd] 横向滚动条的位置 (#4294)
具体哪个组件,什么情况下碰到的这个情况
横向和纵向滚动条是由css控制的,不是你用了组件就会全部帮你处理
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
框架里的表格高度,是否是开发者根据用户屏幕高度去计算?比如图例里的,表格高度高于屏幕了,就出现横向滚动条看不见,需要先滚动纵向滚动条,才能看见横向滚动条。根据用户屏幕大小去计算表格高度明显不可取。所以想咨询一下,有没有办法将横向滚动条悬浮在屏幕底部。
…------------------ 原始邮件 ------------------
发件人: "Yadong Xie"<notifications@github.com>;
发送时间: 2019年10月15日(星期二) 中午11:45
收件人: "NG-ZORRO/ng-zorro-antd"<ng-zorro-antd@noreply.github.com>;
抄送: "吴才彬"<65581451@qq.com>; "Mention"<mention@noreply.github.com>;
主题: Re: [NG-ZORRO/ng-zorro-antd] 横向滚动条的位置 (#4294)
本来就是悬浮在底部的,官网的demo你看着也有问题?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
根据屏幕高度计算为什么不可取,css 里面也就是 calc(100vh - 100px) 这样的表达式,建议了解一下 css 相关内容,组件 api 不会二次包装 css 语法 |
What problem does this feature solve?
既有纵向滚动条又有横向滚动条的情况,需要把纵向滚动条拖到底部,才能使用横向滚动条。这是一个灾难性的设计。
What does the proposed API look like?
横向滚动条能悬浮在界面底部。
The text was updated successfully, but these errors were encountered: