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

Scrolling up sometimes fails #18

Closed
dbrgn opened this issue Feb 15, 2017 · 29 comments
Closed

Scrolling up sometimes fails #18

dbrgn opened this issue Feb 15, 2017 · 29 comments
Assignees
Labels
bug It's a bug!

Comments

@dbrgn
Copy link
Contributor

dbrgn commented Feb 15, 2017

E.g. scrolling up does not work with the "home" key if conversation is scrolled all the way to the bottom.

I also heard reports that scrolling fails with a touchpad.

Most probably has to do with the angularjs-scroll-glue library.

@dbrgn dbrgn added the bug It's a bug! label Feb 15, 2017
@patrick-tee
Copy link

Confirmed: Touchpad scrolling up using a Samsung Galaxy Tab S2 jumps back to the end after half a second, no matter if the scrolling gesture is still in progress or if the finger is up again.

@lgrahl
Copy link
Contributor

lgrahl commented Sep 16, 2017

I'm also experiencing this on FF 55 (jumps back to the bottom if not scrolling further than a certain amount).

@mist
Copy link

mist commented Jan 4, 2018

This is really anoying, I'm using FF57 on Debian and current FF on Android and cannot see anything but the last few messages, because the site scrolls to the last message after less than a second.
At least on the desktop I can click into the messages and scroll with the cursor buttons, though I can'T with wheel.
Please fix this issue!

@rugk
Copy link
Contributor

rugk commented Jan 4, 2018

What do you mean with desktop? The chat overview where you can select the chat/contact?

@mist
Copy link

mist commented Jan 4, 2018

On my Desktop Computer. While on my Tablet Computer (Firefox@Android) I cannot use my cursor buttons because it hase none.

@studersi
Copy link

+1

I'm running Threema Web 1.8.2 on Linux Mint 18 in Firefox 58.0.2 (64-bit). It happens when I'm scrolling with my notebook's tablet as well as with my Logitech mouse.

@dbrgn
Copy link
Contributor Author

dbrgn commented Feb 28, 2018

@studersi does the problem also occur with Chromium? Maybe it is triggered by some smooth scrolling settings in Firefox...

@studersi
Copy link

@dbrgn You're right, it does seem to be related to smooth scrolling to an extent.

I don't have Chromium installed but I do have Google Chrome [Version 64.0.3282.186 (Official Build) (64-bit)]. It scrolls just fine on Chrome.

In Firefox, smooth scrolling is disabled. When I enable smooth scrolling, the problem disappears almost completely. It's still noticeable sometimes but it just seems to stutter before scrolling as planned. Very rarely, it stays at the bottom of the conversation.

@mist
Copy link

mist commented Feb 28, 2018

I can kind of confirm that It has to do with smooth scrolling.
Got a new machine with more power and without smooth scrolling set the problem kind of is there, although just annoying but not rendering the page useless. When I enable smooth scrolling the problem is gone.
On the Android tablet I see no way to enable smooth scrolling, so the problem persists.

@dbrgn
Copy link
Contributor Author

dbrgn commented Mar 10, 2018

If the last message in the conversation is an animgif that is playing, then scrolling up does not work in Firefox 58.

@heckenmann
Copy link

Changing line 39 in messenger.conversation.html to
<div id="conversation-chat" scroll-glue="!ctrl.showScrollJump" in-view-container ng-show="!ctrl.locked">
seems to make the behavior a bit better.

@sebastianw
Copy link

On my Macbook scrolling with the touchpad also fails. Workaround: use the cursor key to scroll up a bit first, after that scrolling works with the touchpad as long as I don't scroll down to the end of the chat again. When I scroll back down to the end of the chat the problem occurs again.

@rugk
Copy link
Contributor

rugk commented Jun 12, 2018

Which browser is that?

@sebastianw
Copy link

Current Firefox on Mac

@dbrgn
Copy link
Contributor Author

dbrgn commented Jun 12, 2018

@heckenmann thanks, that improves things slightly 🙂 there's probably some issue with the underlying library that we need to debug.

@ventilator
Copy link

Scrolling up in a chat especially fails, if a) the phone is on LTE (no Wifi) and b) there is an image in the chat which is still loading. Loading takes about one minute, during that time, scrolling up is not possible (OS: Windows 10, Browser: Firefox). Kind of annoying, since I cannot read chat messages.

Workaround: Setting Webbrowserscaling to 50%, so I can read messages further up while images are loading.

@dbrgn
Copy link
Contributor Author

dbrgn commented Jul 4, 2018

@ventilator note that you can always grab the scrollbar with the mouse to scroll.

@ventilator
Copy link

@dbrgn This won't help, grabbing and holding the scrollbar lets the interface jump up to the scroll bar position and down to the end of the thread with a frequency so fast, that reading is not possible

@dbrgn
Copy link
Contributor Author

dbrgn commented Jul 4, 2018

@ventilator hm, that shouldn't be the case. Are you a beta user, or on version 1.8.2?

@ventilator
Copy link

1.8.2. But I tried, but cannot reproduce the effect at another PC at home, which has a faster internet connection. I will try to make a screencast of the effect once I have access again to the laptop at work which has a somewhat slower or at least filtered, firewalled corporate internet connection.

@mist
Copy link

mist commented Jul 9, 2018

@dbrgn I can also affirm that grabbing the scrollbar with the mouse did never work whenever I encountered this problem.

@rugk
Copy link
Contributor

rugk commented Jul 9, 2018

I could always grab the scrollbar with the mouse and move it "hard enough" to the top.
It's a bit like taming donkeys, but it works.

@rugk
Copy link
Contributor

rugk commented Jul 9, 2018

Some more insights (2.0.0-beta.7):

  • when an image is still loading, you still have the chance to scroll up with your mouse wheel. However, you anyway have to try hard (i.e. it still tries to "stick to the ground")
  • while loading, it resets the position to the bottom every 500ms or so – even if you've managed to scroll up
  • when loading finished, the only way to scroll up is by using your mouse and grabbing the scroll bar as mentioned before

in short: it all seems like a demotivation campaign by annoying the user to stick to the recent stuff and not scroll back… 😜

Fedora 28, Firefox 61

@ovalseven8

This comment has been minimized.

@lgrahl

This comment has been minimized.

@dbrgn

This comment has been minimized.

@lgrahl

This comment has been minimized.

@ovalseven8

This comment has been minimized.

@dbrgn

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug!
Development

No branches or pull requests

10 participants