Top "Scroll" questions

Scrolling refers to the continuous sliding of content across a display screen.

Center a 'div' in the middle of the screen, even when the page is scrolled up or down?

I have in my page a button which when clicked displays a div (popup style) in the middle of my …

html css scroll position centering
How to scroll to the bottom of a RecyclerView? scrollToPosition doesn't work

I'd like to scroll to the bottom of the RecyclerView list after loading the activity. GENERIC_MESSAGE_LIST = (ArrayList) intent.…

java android scroll android-recyclerview
Programmatically scroll a UIScrollView

I have a UIScrollView which has several views. When a user flicks their finger, the view scrolls to the right …

ios objective-c uiscrollview scroll
How to scroll the page when a modal dialog is longer than the screen?

I have a modal dialog in my app which can get quite long in the y direction. This introduces a …

css scroll
Detecting scroll direction

So I am trying to use the JavaScript on scroll to call a function. But I wanted to know if …

javascript scroll onscroll
Angular 2 Scroll to bottom (Chat style)

I have a set of single cell components within an ng-for loop. I have everything in place but I cannot …

scroll typescript angular
How do you add a scroll bar to a div?

I have a popup that displays some results, and I want a scroll bar to be display since the results …

css scroll popup
How to detect scroll direction

I want to run a function when someone scrolls down on an element. Something like this: $('div').scrollDown(function(){ alert(…

jquery scroll direction
How to make div follow scrolling smoothly with jQuery?

In my container there are sections/boxes, but the last one of these boxes should follow scrolling when none of …

jquery scroll
IFRAMEs and the Safari on the iPad, how can the user scroll the content?

According to the Apple iOS mantra it should be possible to scroll the contents of an IFRAME by dragging it …

html ipad iframe safari scroll