滚动方面是否有bug?
rootMargin/threshold 似乎存在某个 bug,而且“加载更多”的 CSS 加载方式很奇怪。其他人也遇到这种情况吗?
我们已注意到该问题,并正在着手处理。
我的临时修复如下:
html:has(.rewind-container.--fullscreen) {
overflow: hidden;
}
.rewind-container.--fullscreen {
width: 100%;
height: 100%;
}
.rewind {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.rewind__header {
flex-shrink: 0;
}
.rewind__scroll-wrapper {
flex: 1 1 auto;
min-height: 0;
height: auto;
box-sizing: border-box;
}
.rewind__scroll-wrapper .load-more-sentinel {
flex-shrink: 0;
min-height: 1px;
}
.rewind__scroll-wrapper .rewind-report:has(+ .load-more-sentinel),
.rewind__scroll-wrapper .rewind-report:last-child {
margin-bottom: 10em;
}