Is there a scrolling bug on Rewind?

AI-generated summary

Users have reported a scrolling bug on the Rewind feature, which appears to be related to the rootMargin/threshold settings and the CSS for the “load more” button. eisammy noted that the load more CSS is behaving strangely and asked if others were experiencing the same issue. Falco acknowledged the problem, stating that the team is aware and currently working on a fix.

In the meantime, eisammy shared a temporary CSS workaround to stabilize the layout. The fix involves forcing overflow: hidden on the HTML when the rewind container is in fullscreen mode, setting specific height and width properties for the container and its inner elements, and using flexbox rules to ensure the scroll wrapper and its children (like the load-more sentinel) render correctly. The provided snippet includes adjustments to margin-bottom for report elements adjacent to the sentinel to prevent layout shifts.

Is there any bug related to scrolling?

It seems there’s a bug with rootMargin/threshold, and the “load more” CSS is behaving strangely. Is anyone else experiencing this?

We are aware and working on it.

Here is my temporary fix:

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;
}