mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 11:07:52 +08:00
Panel affixFooter 的 always 模式优化
This commit is contained in:
parent
196dd54a5e
commit
60b8209afc
@ -1391,6 +1391,10 @@
|
||||
clip: rect(1px, 1px, 1px, 1px);
|
||||
}
|
||||
|
||||
.invisible2 {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.hbox {
|
||||
display: table;
|
||||
table-layout: fixed;
|
||||
|
@ -66,7 +66,7 @@ export default class Panel extends React.Component<PanelProps> {
|
||||
|
||||
if (this.props.affixFooter === 'always') {
|
||||
affixed = true;
|
||||
footerDom.classList.add('hidden');
|
||||
footerDom.classList.add('invisible2');
|
||||
} else {
|
||||
const clip = footerDom.getBoundingClientRect();
|
||||
const clientHeight = window.innerHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user