Questions tagged [scroll]

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

Scrolling generally occurs on the horizontal and vertical axes. In addition scrolling can be accomplished via mouse, trackpad, trackball and the keyboard.

Wikipedia article: http://en.wikipedia.org/wiki/Scrolling

20210 questions
5
votes
4 answers

Java scroll JScrollPane with JPanel within to bottom

I have a JScrollPane with a very high JPanel inside, that is changed dynamically, items being appended at its end. What I want, is to scroll to the bottom of aforementioned JScrollPane in order for the newly appended items to be visible instantly on…
arik
  • 23,480
  • 35
  • 91
  • 147
5
votes
3 answers

CollapsingToolbarLayout not Collapsing with RecyclerView Scroll Behavior

I have a CollapsingToolbarLayout that shows an image (placed inside the ConstraintLayout to keep the ratio 1:1) and a RecyclerView that has the com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior attached to it. Image of…
5
votes
1 answer

ListView not scrolling in positioned Widget

I currently have a stack with a backdrop for my AppBar and the contents of my page. I'm displaying a Container in the center of the page, positioned with the Positioned widget, which contains a grid/listview. @override Widget build(BuildContext…
mrgnhnt96
  • 710
  • 1
  • 15
5
votes
3 answers

Flutter - How to use ScrollController to jumpto the bottom of the listview after fetching data from firebase using StreamBuilder?

What is the best way to use ScrollController in the list for scrolling to the bottom of the list after the listview is rendered data from streambuilder using firestore query stream? What is the best place to use scrollcontroller.jumpto method ? //…
Mahesh P
  • 290
  • 2
  • 16
5
votes
2 answers

html + css: horizontal scroll lanes?

really simpel markup:

Headline 01

Lorem ipsum dolor...

matt
  • 37,699
  • 99
  • 250
  • 390
5
votes
0 answers

How to maintain vertical scroll position when prepending to a list (React)

I'm building a cross-browser chat widget in React with Redux. The events in the chat widget are paginated, and fetching older events is triggered by scrolling to the top of the list of events. The events are prepended to the list of events. The…
5
votes
1 answer

How do I make Infinite Scroll to top with js?

There is an example of infinite scroll to bottom. var $ol = document.querySelector("ol"); function load_more() { var html = ""; for (var i = 0; i < 5; i++) html += '
  • '; $ol.innerHTML += html; …
    mr_blond
    • 984
    • 2
    • 7
    • 29
    5
    votes
    3 answers

    Stick Android ListView "categories" to top

    Im working on an application where I load items from a webservice and display them in a list using ListView. I was wondering if I could have certain "titles" between some of them, and when you scroll through them, they stick to the top of the list,…
    Hidde
    • 364
    • 5
    • 16
    5
    votes
    3 answers

    GWT StackLayoutPanel: dynamic and automatic height

    I'm using a StackLayoutPanel to show stacked emails of a conversation a la gmail where the header is the sender and the child the email's body. For the dynamic nature of this, I can only estimate the height of my stack in code. To estimate the…
    juanmirocks
    • 3,203
    • 5
    • 37
    • 41
    5
    votes
    3 answers

    Horizontal Scrolling on React Component Using Vertical Mouse Wheel

    I have a component that resizes into a horizontal row of bootstrap cards when in a smaller desktop window. For users without a horizontal mouse wheel and not using a touchpad, I would like to allow users to scroll horizontally using their vertical…
    5
    votes
    3 answers

    No elastic Scrolling in ListView

    On my Samsung Galaxy S, the ListView gets an elastic effect if over-scrolled. But I don't want this in my application. Can I disable this elastic scrolling?
    Tschakle
    • 215
    • 1
    • 4
    • 14
    5
    votes
    1 answer

    Hide address/navigation bar on mobile browsers without the need to scroll content?

    For some time I've been making and maintaining a web-app, that has full-screen single page design, and shows lists of items in separate containers, so there is no classic scroll behavior that would normally trigger address and navigation bar to be…
    Artanis
    • 847
    • 1
    • 6
    • 23
    5
    votes
    3 answers

    How to change scroll behavior (e.g. speed, acceleration) on website?

    How are the modified scroll behaviors on websites made? I want to accomplish an accelerated scroll behavior as you can see it in the example. So you scroll in a certain speed and after you let go the page scrolls a little more by its own, slows down…
    jeyy
    • 79
    • 1
    • 1
    • 4
    5
    votes
    1 answer

    iOS PDFKit Disable vertical scroll bounce

    How does one disable scroll bounce in a PDFView using PDFKit? The view where the PDF is shown doesn't have a scroll bounce option. Here's my code: if let path = Bundle.main.path(forResource: pdfObject, ofType: "pdf") { let url =…
    Nicholas Farmer
    • 697
    • 6
    • 27
    5
    votes
    3 answers

    Bootstrap 4 prevent clipping on overflowing row with horizontal scroll

    I created a row with horizontal scrolling for all contained col. I used an answer to this question: Bootstrap 4 horizontal scroller div However, I found that the elements inside the container are clipped. Now on some OS-Browser combinations (e.g.…
    Jankapunkt
    • 7,161
    • 4
    • 24
    • 49
    1 2 3
    99
    100