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

st 组件指定scroll.x 时, 滚动条必出现, 未指定scroll.x属性则将容器撑开展示 #1732

Closed
zst20160902 opened this issue Jun 28, 2020 · 1 comment

Comments

@zst20160902
Copy link

  • ng-alain version: 9.4.1
  • Angular version: 9.1.4

【必填项】重现链接,Reproduction link

https://codesandbox.io/s/dazzling-euclid-wi2i7?file=/src/app/app.component.ts

image

重现步骤,Steps to reproduce

@cipchk
Copy link
Member

cipchk commented Jun 29, 2020

如果你不想超出可以设置宽度模式为严格模式:

- <st [data]="url" [req]="{ params: params }" [columns]="columns"> </st>
+ <st [data]="url" [req]="{ params: params }" [widthMode]="{type: 'strict'}" [columns]="columns"> </st>

@cipchk cipchk closed this as completed Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants