#Page goes back to the beginning

11 messages · Page 1 of 1 (latest)

runic lake
#

brings the page back to the beginning

  1. wdym?
  2. Code / video pls, not really possible to help based on the shared amount of information 🥲
brisk scroll
#

In this video all I do is try to scroll down, but every time I do this and let go of my finger it takes me back to the top of the page

runic lake
#

canvas element ain't scrollable though

#

you it seems like you're just overscrolling, not scrolling? cat_eyes

brisk scroll
runic lake
#

By default, mobile browsers tend to provide a "bounce" effect or even a page refresh when the top or bottom of a page (or other scroll area) is reached. You may also have noticed that when you have a dialog box with scrolling content on top of a page of scrolling content, once the dialog box's scroll boundary is reached, the underlying page will then start to scroll — this is called scroll chaining.

brisk scroll
#

it could happens due to

  --scroll-behavior: smooth !important;
  scroll-behavior: smooth !important;
}

or not?

runic lake
#

overscroll jump-back happens because it's a default browser behaviour

#

but it's unrelated to three, or even the canvas you've mentioned