Questions tagged [smooth-scrolling]

Smooth Scrolling is a technique which reduces the sudden jumps in display while scrolling. The content will appear to seamlessly flow in and out of the screen as you scroll. Many browsers ship with it, but it can also be implemented by websites.

967 questions
6
votes
2 answers

Achieve smooth scrolling for Photo Grid with thousands of images from disc

I have a PhotoGrid with three photos on each row, implemented using UITableView. I have an in-memory cache (using NSCache) which has a capacity for 100 images, so at one time I will be having at most 100 images in memory even though I have thousands…
Jai V
  • 61
  • 3
6
votes
1 answer

Silverlight 3 - ListBox : how to achieve Smooth Scroll and catch MouseDown/MouseUp events

I'm trying to adapt the behaviour of the ListBox for my needs and I ran into several problems 1) How can you programatically set the scrolling position of the ListBox The ListBox does not provide an accessor to its inner ScrollViewer so that you…
Pascal T.
  • 3,866
  • 4
  • 33
  • 36
6
votes
1 answer

Sticky Navigation with Smooth Scrolling is jumping

I'm having all sorts of issues with a stick nav and smooth scrolling. I just don't know enough about jQuery to troubleshoot. I'm using a smooth scrolling snippet from Chris Coyer: http://css-tricks.com/snippets/jquery/smooth-scrolling/. My page is…
kgarrett
  • 75
  • 1
  • 6
6
votes
3 answers

Link to different page -> jquery scroll to specific anchor

At the bottom of my home page I have included a contact form and specified the anchor for this section as div id="contact". When the contact button is clicked on any page it should navigate to the homepage and on page load, scroll automatically to…
Tom
  • 61
  • 1
  • 1
  • 2
5
votes
1 answer

TScrollbox MouseDown override

I created a Custom scrollbox derives from TScrollbox that works the same except that it will scrolls when dragging in the client area aside from its scrollbars. My problem now is i cannot Drag To Scroll when mouse is on a button or panel inside my…
XBasic3000
  • 3,418
  • 5
  • 46
  • 91
5
votes
1 answer

How to make GestureDetector detect two-finger drag in Flutter Web?

I'm trying to implement Smooth Scroll in a PageView, so I have set the physics property to NeverScrollableScrollPhysics() and I have wrapped the items in the builder fonction with a GestureDetector that detects Drag gestures. When a drag gesture is…
Momar
  • 149
  • 7
5
votes
1 answer

Receiving high precision WM_MOUSEWHEEL events with Logitech mouse on Windows 10

To improve scrolling in my application, I recently added support for high-resolution scrolling wheel events. According to the documentation this is pretty straightforward: The handler for WM_MOUSEWHEEL should support arbitrary values as opposed to…
5
votes
4 answers

LinearLayoutManager smooth scroll jumps to wrong position

I'm am trying to make a layout similar to how Instagram's filter layout works. Basically when you select a filter it will scroll to the item you selected + 1 showing you that there are more filters. I currently am trying to build a custom…
Nick
  • 9,285
  • 33
  • 104
  • 147
5
votes
0 answers

JS scrollTop not working on Safari Browser

The following code I have used to apply smooth scrolling between menu links and content row containers. This seems to be working fine on all browsers except for Safari. I understand I need to define 'html' and 'body' within the offset line, however,…
5
votes
1 answer

react-virtualized WindowScroller performance issues

I am using the react-virtualized library to create efficient news feed. The library is awesome. I combined WindowScroller, AutoSizer and VirtualScroll components to have inifinite scrolling behavior. The problem is that when I set the VirtualScroll…
5
votes
1 answer

Is there an alternative way to have smooth scroll instead of using webkit-overflow-scroll touch?

does anybody know how to have a nice smooth scrolling in a div element instead of using -webkit-overflow-scrolling: touch? I need it for my iPad. When I touch the iPad to "scroll down", it has to be smoothly. The problem is that in my application…
Michael
  • 121
  • 3
  • 6
5
votes
1 answer

JavaFX Smooth Scrolling for ListView

I wonder if there is a way to tweak the scrolling of JavaFX's ListView. You might say It's laggy because my collection is too large and/or my CellFactory is too heavy... it's just that the frame rate seems too low even with a small collection of…
Mackovich
  • 3,319
  • 6
  • 35
  • 73
5
votes
1 answer

Recyclerview - smoothScrollToPosition to Top of list and then animate the addition of item

I'm trying to create a Recyclerview that will scroll to the top first and then animate the addition of an item onto the recyclerview. This is the code I have so far: while (!mLayoutManager.isSmoothScrolling()) { …
Simon
  • 19,658
  • 27
  • 149
  • 217
5
votes
0 answers

smoothScrollToPosition does not work?

Testing with a Moto G on 5.1, the smoothScrollToPosition does not work: @Override public View onCreateView(LayoutInflater inflater, ViewGroup parent, Bundle savedInstanceState) { super.onCreate(savedInstanceState); View fragView =…
sprocket12
  • 5,368
  • 18
  • 64
  • 133
5
votes
2 answers

Android smoothScrollTo isn't smooth

I'm trying to scroll to a given layout in a ScrollView. My XML is basically composed of a ScrollView implementing various RelativeLayout and I want to programatically scroll to a given one. I have the following code in my Activity's onCreate method…
keepthepeach
  • 1,621
  • 2
  • 20
  • 27