CodeWalrus

Featured Member Projects => Completed and Inactive Projects => [Completed] CodeWalrus Tools (Web/Android/PC) => Topic started by: Dream of Omnimaga on December 09, 2015, 05:49:50 PM

Title: WalrusIRC scrolling bug on Android
Post by: Dream of Omnimaga on December 09, 2015, 05:49:50 PM
I noticed some issue on Android with WalrusIRC scrolling but I don't know when it started happening:

If you scroll up all the time, then it's fine, but if you scroll down, you instantly jump at the very bottom, then a second time if you scroll up immediately afterwards.

This can be annoying for reading logs.
Title: Re: WalrusIRC scrolling bug on Android
Post by: novenary on December 09, 2015, 05:53:43 PM
Can't reproduce in chrome, that's odd. It might be related to images loading since that triggers scrolls.
Title: Re: WalrusIRC scrolling bug on Android
Post by: Dream of Omnimaga on October 11, 2016, 03:40:00 PM
Bump: @lazydogP reports that the same problem is happening on Firefox in Android. In Chrome Android I still have the same issue.

The aforementioned bug only happens in the fullscreen WalrusIRC client, not the embedded shoutbox.

/me pokes @Juju and @Streetwalrus to fix and glares at the topic date <_<
Title: Re: WalrusIRC scrolling bug on Android
Post by: lazydogP on October 11, 2016, 03:47:26 PM
BTW, here's the environment.
Firefox Beta 49.0b11
720*1280 display resolution (320 DPI)
Hope it will be useful.
Title: Re: WalrusIRC scrolling bug on Android
Post by: novenary on October 11, 2016, 04:38:58 PM
It's caused by the "window" changing size as the navbar hides or shows up. If I were to remove it then it wouldn't scroll down upon rotating the phone. May be a good idea to check whether it's already scrolled all the way down first.

Remind me on Thursday please.
Title: Re: WalrusIRC scrolling bug on Android
Post by: Dream of Omnimaga on October 11, 2016, 04:44:10 PM
I wonder how many people in the TI community have their phones set to automatically rotate the display, though... in my case I found that Android feature to be by far the most annoying thing in existence >.<
Title: Re: WalrusIRC scrolling bug on Android
Post by: novenary on October 11, 2016, 08:36:28 PM
Same. :P But it's a thing to consider, it's also problematic on desktop when resizing the window.
Title: Re: WalrusIRC scrolling bug on Android
Post by: Dream of Omnimaga on October 11, 2016, 08:56:34 PM
Now that you mention desktop, I recently had that issue where WalrusIRC scrolled down at the bottom on every message, but then refreshing the page fixed it.
Title: Re: WalrusIRC scrolling bug on Android
Post by: c4ooo on October 11, 2016, 08:58:33 PM
Quote from: DJ Omnimaga on December 09, 2015, 05:49:50 PM
I noticed some issue on Android with WalrusIRC scrolling but I don't know when it started happening:

If you scroll up all the time, then it's fine, but if you scroll down, you instantly jump at the very bottom, then a second time if you scroll up immediately afterwards.

This can be annoying for reading logs.
This also occurs on Safari in iOS. One thing to note is that it only happens in full screen mode.
Title: Re: WalrusIRC scrolling bug on Android
Post by: novenary on October 12, 2016, 11:10:29 PM
Welp, looks like there is no easy way to fix it without breaking resize handling. :/ I need to look into it more.
Title: Re: WalrusIRC scrolling bug on Android
Post by: Dream of Omnimaga on October 12, 2016, 11:13:40 PM
Quote from: c4ooo on October 11, 2016, 08:58:33 PM
Quote from: DJ Omnimaga on December 09, 2015, 05:49:50 PM
I noticed some issue on Android with WalrusIRC scrolling but I don't know when it started happening:

If you scroll up all the time, then it's fine, but if you scroll down, you instantly jump at the very bottom, then a second time if you scroll up immediately afterwards.

This can be annoying for reading logs.
This also occurs on Safari in iOS. One thing to note is that it only happens in full screen mode.
Didn' Safari on iOS as well as every other iOS browser also fail to show the textarea and send buttons in shoutbox mode?

Quote from: Streetwalrus on October 12, 2016, 11:10:29 PM
Welp, looks like there is no easy way to fix it without breaking resize handling. :/ I need to look into it more.
Good luck D: