developit / developit/preact-scroll-viewport

Jumping with dynamically sized elements

Open
#9 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
123
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Hi!

I'm using this plugin for a chat window, and I've got a list of elements (messages) that have all different sizes based on their content. When I scroll the list, the scroll position sometimes jumps around a few pixels. I've produced a repro here: https://jsfiddle.net/3Lhs6uyo/

Any idea on how to fix this?

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.