ElemeFE / element

A Vue.js 2.0 UI Toolkit for Web
https://element.eleme.io/
MIT License
54.13k stars 14.64k forks source link

table fixed Overlay horizontal scroll bar #20686

Open yuanshengchao opened 3 years ago

yuanshengchao commented 3 years ago

When the table column property is set to fixed, the fixed column height will cover the horizontal scroll bar. Causes the scroll bar to be unable to scroll image

In table- layout.js In theupdateElsHeight method, set the code: const NoData =( this.store.states .data && this.store.states . data.length ); this.viewportHeight = this.scrollX ? tableHeight - (noData ? 0 : this.gutterWidth ) : tableHeight;

Is this logic the key to this problem?

image

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

yuanshengchao commented 2 years ago

您好,我是袁胜超(jack),您发的邮件我已收到,稍后会进行查看。如果邮件紧急,请及时在微信或者QQ或者电话告知。    Hello, I am Yuan Shengchao, your e-mail I have received, will be viewed later. If the message is urgent, please call me.