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

布局 Layout的content-style的优先级 #2671

Closed
fufenghao opened this issue Mar 24, 2022 · 2 comments
Closed

布局 Layout的content-style的优先级 #2671

fufenghao opened this issue Mar 24, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@fufenghao
Copy link

This function solves the problem (这个功能解决的问题)

LayoutSider 源码

是不是应该调换下位置 ### Expected API (期望的 API) LayoutSider 源码
@github-actions github-actions bot added the feature request New feature or request label Mar 24, 2022
@fufenghao
Copy link
Author

LayoutSider 源码

class={`${mergedClsPrefix}-layout-sider-scroll-container`}
onScroll={this.onScroll}
style={[
this.scrollContainerStyle,
 this.contentStyle,
{ overflow: 'auto' }
]}
ref="scrollableElRef"
>```
改变
```style={[  this.scrollContainerStyle,
{ overflow: 'auto' },
this.contentStyle
 ]}

@07akioni
Copy link
Collaborator

我觉得你说的有道理

@07akioni 07akioni added bug Something isn't working and removed feature request New feature or request labels Mar 26, 2022
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

No branches or pull requests

2 participants