ElemeFE / ElemeFE/element

table fixed Overlay horizontal scroll bar

Open
#20,686 2 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/16740731/104558113-43016e00-567d-11eb-8d18-5611d634c26d.png)

In table- layout.js In the` updateElsHeight` 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](https://user-images.githubusercontent.com/16740731/104558053-2a915380-567d-11eb-8707-4ae320201456.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.