Open
Description
Describe
Set 'page-mode=true', then use 'slot="header"' to set the header if there is content in front of the virtual list. This causes a lot of white space as the list scrolls.
To Reproduce
Steps to reproduce the behavior:
- Set ‘page-mode=true’
- Use ‘slot="header"’ to set the header
- There's something else in front of the virtual list
- Scroll through the virtual list
Then find out reason
I looked at the source code and found that when setting "slotHeaderSize", the content of the virtual list 'slot="header" and the size of the content before the virtual list are mutually exclusive. That is, the width and height of one of them overrides the width and height of the other, resulting in a scroll error and lots of blank space.
Other
- Version [e.g. 2.0]
- Browser [e.g. chrome,]
- Platform [e.g windows]