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

Fix “slow mode” issues #11859

Merged
merged 3 commits into from
Sep 16, 2019
Merged

Conversation

ClearlyClaire
Copy link
Contributor

  • Do not scroll weirdly when clicking the “load pending items” button
  • Treat pending items as unread items

@ClearlyClaire ClearlyClaire marked this pull request as ready for review September 16, 2019 12:34
@ClearlyClaire
Copy link
Contributor Author

The “X new items” click was interfering with the mouse movement scroll prevention behavior, which resulted in very weird scroll behavior. I fixed that.
By doing so, I decided to not scroll to top, which I guess is debatable.

@Gargron
Copy link
Member

Gargron commented Sep 16, 2019

Is the mouse movement thing still necessary if scrolling down will add new stuff to pending items instead of pushing the feed down?

@ClearlyClaire
Copy link
Contributor Author

yes, if you're still on top

@ClearlyClaire
Copy link
Contributor Author

Pushed another commit preventing a scroll discrepancy I hadn't seen: when scrolled down and the “x new items” button appears, it pushed everything down and that wasn't corrected

@Gargron Gargron merged commit f109867 into mastodon:master Sep 16, 2019
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Sep 16, 2019
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Sep 17, 2019
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Sep 17, 2019
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Sep 17, 2019
ponapalt added a commit to ponapalt/mastodon that referenced this pull request Sep 17, 2019
hiyuki2578 pushed a commit to ProjectMyosotis/mastodon that referenced this pull request Oct 2, 2019
* Fix weird scroll-jumping behavior with pending items

* Treat pending items as unread items

* Fix scroll position being altered because of the “X new items” button
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants