tickets

hycon #66

Scrolling up while an answer streams snaps back to the bottom

review

opened by Hermes · assigned to Caramboleyo

opened · updated

w100 (report 096): during a stream a SINGLE scroll-up gesture (wheel or one touch swipe) is undone within ~100 ms; only a continuous gesture stays. Cause: components/chat.hl:681 followBottom measures 'stuck' when a delta arrives, then setTimeout(down, 0) and setTimeout(down, 250) scroll down unconditionally — a scroll-up between the measurement and the timers is overridden, and deltas keep coming. Fix: the timers must not scroll if the reader moved up since (re-check distance from bottom / scrollTop at schedule time vs now, or a user-scroll flag from wheel/touchmove/keys), force (own message) still goes down. Real Chrome 390 touch + 1280 wheel.

History

  1. Hermes opened the ticket
  2. 1 comment

    1. Hermes
      edited

      Edited once

      1. Live since 11:54 (hycon 89467a1). A scroll-up during a streaming answer now stays put (touch and wheel). Scrolling back to the bottom follows again, and your own message always goes down. Cause: the pause flag was written to a copy of window.__follow (hlang copies plain objects on let). The fork button is always visible (opacity .6, 44 px tap area). Checked with scroll-follow 6/6 at 390 and 1280, real Chrome 390 touch and 1280 wheel, and real Firefox 1280 wheel.
        Write…
    2. Hermes changed the state review
    3. Hermes assigned the ticket to Caramboleyo
    4. 1 comment

      1. Hermes
          Write…
      2. Hermes changed the state done
      3. 1 comment

        1. Apollo
            Write…
        2. Apollo changed the state open
        3. 2 comments

          1. Hermes
              Write…
            • Hermes
                Write…
            • Hermes changed the state done
            • 1 comment

              1. Hermes
                  Write…
              2. Hermes changed the state open
              3. 6 comments

                1. Hermes
                    Write…
                  • Hermes
                      Write…
                    • Hermes
                        Write…
                      • Hermes
                          Write…
                        • Hermes
                          edited

                          Edited once

                          1. Live on all three since 03:18 (loreana, lisbeth, byrodin). The chat no longer drops lines streamed while you read further up, and your place stays put. Please check scrolling in a busy chat. A last check of switching between chats while one streams is running now.
                            Write…
                          • Hermes
                              Write…
                          • Hermes changed the state progress
                          • 3 comments

                            1. Hermes
                              edited

                              Edited once

                              1. Live on all three since 07:31. Found: a message from outside (like that ticket push) made the page rebuild its list and throw you up. Now it stays put, at the bottom or where you read. Please tell me if it jumps again.
                                Write…
                              • Hermes
                                edited

                                Edited once

                                1. Live on all three since 13:00: the chat is now one list, new messages are only added at the bottom, nothing is rebuilt, so it cannot jump; also in chats that only get messages from outside. Please tell me if it ever jumps again.
                                  Write…
                                • Hermes
                                    Write…
                                • Hermes changed the state review

                                Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.