Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

list_widget: Fix more elements not rendered on scrolling to bottom. #30499

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

amanagr
Copy link
Member

@amanagr amanagr commented Jun 20, 2024

This bug can be reproduced by scrolling anywhere where list widget is used except recent view.

$scroll_container was used before
371cd0d
to listen to scroll events which was incorrectly replaced by opts.$simplebar_container in the above commit. To fix this, we use the same function scroll_util.get_scroll_element to get the correct scroll element.

discussion: https://chat.zulip.org/#narrow/stream/9-issues/topic/Scrolling.20user.20list

This bug can be reproduced by scrolling anywhere where list widget
is used except recent view.

`$scroll_container` was used before
371cd0d
to listen to scroll events which was incorrectly replaced by
`opts.$simplebar_container` in the above commit. To fix this,
we use the same function `scroll_util.get_scroll_element` to
get the correct scroll element.
@timabbott timabbott merged commit 12e2b66 into zulip:main Jun 20, 2024
7 checks passed
@timabbott
Copy link
Sponsor Member

Merged, thanks @amanagr!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants