Questions tagged [overscroll]

Overscroll is a feature of scrollable-view in any device, where the user is allowed to scroll more than the end of the last element in a scrollview. This is used to create an UI with more feedback back to the user, thus making the UI experience more interactive and smoother.

Overscroll is a feature of scrollable-view in any device, where the user is allowed to scroll more than the end of the last element in a scrollview. This is used to create an UI with more feedback back to the user, thus making the UI experience more interactive and smoother.

Examples on where overscroll is used, are in iOS' UIScrollView or Android's ScrollView.

89 questions
43
votes
4 answers

How to change the color of overscroll edge and overscroll glow

How to Change color of over-scroll edge and over-scroll glow or how to change the white color (default color) of android release 5.0 lollipop?
Ad Dahoun
  • 453
  • 1
  • 5
  • 8
29
votes
6 answers

How to disable overscroll effect on RecyclerView ONLY when you can't scroll anyway ?

Background Sometimes, all items of the recyclerView are already visible to the user. In this case, it wouldn't matter to the user to see overscroll effect, because it's impossible to actually scroll and see more items. The problem I know that in…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
16
votes
0 answers

CSS `overscroll-behavior: contain` when target element doesn't overflow

I am looking for a CSS solution to implement the exact behavior of "overscroll-behavior: contain" but for when the target element has no overflow. I have a page with a pop-in sidebar/menu that, on mobile, takes up 100vw and 100vh (minus bottom…
benmneb
  • 1,773
  • 1
  • 15
  • 26
16
votes
3 answers

How to detect overscroll in Android ListView?

I'd like to show/hide a view when the user over scroll the listview. How can I detect the over-scroll? Is there any listener? I've tried OnScrollListener but it only notifies about onScrollStateChanged and onScroll
Alexey
  • 7,127
  • 9
  • 57
  • 94
12
votes
1 answer

Lollipop AppBarLayout/Toolbar missing overscroll animation

using the most basic example with AppBarLayout and Toolbar, I cannot see the overscroll animation (the glow from bottom nor top) when trying to scroll more. However, if you fling the content, it will show it. Here is the code…
user654628
  • 1,429
  • 1
  • 17
  • 37
11
votes
4 answers

Chrome Bug!? - infinite scrolling above page body (several Pages)

I recognized this Bug on several Pages occurring in Chromium related browsers. I opened up a Chromium Issue, where the project members could not reproduce the problem - I am trying to figure out why this is happening (since the Problem occurs on…
10
votes
2 answers

WebView OverScroll

I'm trying to make a webView "bounce" when pulled after scroll reached the max (kind of like the "pull-to-refresh" effect). I have my custom view extending WebView, and overriding the method @Override protected boolean overScrollBy(final int…
Cheborra
  • 2,627
  • 4
  • 23
  • 39
9
votes
2 answers

How do I detect OverScroll in android RecyclerView?

I have tried to overwrite onOverScrolled() but it is not triggered: public class MyRecyclerView extends RecyclerView { public MyRecyclerView(@NonNull Context context) { super(context); } public MyRecyclerView(@NonNull Context…
Ivan
  • 6,388
  • 3
  • 24
  • 30
9
votes
1 answer

Overscroll scrolling indicators with clip to padding

Im having this problem I cant get rid of on froyo and gingerbread. I am using clipToPadding="false" attribute to not have the top and bottom padding around listView unless its ends. However on 2.2 and 2.3 this with the clipToPadding, causes the…
urSus
  • 12,492
  • 12
  • 69
  • 89
6
votes
0 answers

Is it possible to make a background gradient on the :root element extend past overscroll?

I'm trying to make it so that when you scroll past the top and bottom of the page, the background gradient I'm using on the body displays past the edge of the body. Is it possible to do this? I've tried setting background-image and background style…
Gavan
  • 61
  • 2
5
votes
0 answers

Flutter: How to embed multiple horizontally Webviews in PageView

I am prototyping an Epub reader in Flutter. Each chapter is displayed in a WebView and these WebViews are placed inside a PageView. The contents of each WebView is paginated thanks to a multi-column layout: 1 column = 1 visible page. During a…
SurfinJim
  • 51
  • 4
5
votes
2 answers

JavaScript-enabled overscrolling

One can make smooth scrolling animations to go from one part of a webpage to another. Nowadays, some browsers (e.g. Chrome for Mac) support "overscrolling", and often scrolling involves overscrolling. So the traditional scrolling animations look…
Randomblue
  • 112,777
  • 145
  • 353
  • 547
4
votes
0 answers

Scroll chaining. Scrolling inner and then outer scroll as one gesture in web browser

My goal is to implement behaviour as it is shown in following gif but with one gesture: Touch "Birmingham" Move finger up what should cause "Temperature in my city" being hidden Still moving finger up inner scroll should start scrolling Change…
4
votes
2 answers

Overscroll effect doesn't appear in my recyclerview inside swiperefreshlayout

I have a fragment that contain a SwipeRefreshLayour with a RecyclerView inside. This recyclerView doesn't show overscroll effects. I tried a lot of things like use this: android:isScrollContainer="true" android:overScrollMode="always" Custom…
JavierSegoviaCordoba
  • 6,531
  • 9
  • 37
  • 51
4
votes
1 answer

(iOS-like) overscroll on ScrollView not working in Android?

I'm trying to get my scrollview to have the "overscroll" effect as there is in iOS. I have tried two things with little to no success: First try: I used This , like: ScrollView scrollView = (ScrollView)…
CJR
  • 3,174
  • 6
  • 34
  • 78
1
2 3 4 5 6