Tagged articles
scrolling
10 articles · Page 1 of 1
This article explains how to create a reusable Vue directive that animates a list scrolling continuously using requestAnimationFrame, allows pausing on mouse click, and lets users adjust the scroll speed, with a complete code example and detailed implementation notes.
Directiveanimationfrontend
0 likes · 5 min read

This article dissects ViewPager2's internal scrolling architecture, explains its core classes, orientation handling, PageTransformer workflow, scroll event processing, animation techniques, performance tweaks, and demonstrates how to recreate a complex advertising carousel with custom transformations and layout optimizations.
AndroidCustomAnimationPageTransformer
0 likes · 15 min read

This article compares four pagination techniques—MySQL LIMIT OFFSET, LIMIT with primary‑key filtering, HasMore scrolling, and Elasticsearch pagination—explaining their implementations, advantages, drawbacks such as deep‑page performance issues, and recommending appropriate scenarios for each method.
ElasticsearchMySQLPagination
0 likes · 6 min read

This article explains four different techniques—including pure JavaScript frame updates, setInterval with CSS transitions, CSS keyframe animation, and a text‑shadow trick—to achieve a continuously left‑scrolling text effect, compares their performance and complexity, and provides complete code samples for each method.
CSSHTMLJavaScript
0 likes · 6 min read

This article details the performance challenges of Flutter in the Xianyu e‑commerce app, explains the custom PowerScrollView and DynamicX components, describes measurement techniques with devtools and benchmark tools, and provides practical recommendations for achieving fluid scrolling on mobile devices.
dynamicxmobileoptimization
0 likes · 20 min read

By preloading off-screen items, applying a short non-animated jump for large distances, and then using a customized smooth-scroll with precise offset correction, the Android RecyclerView achieves fast, accurate scrolling without white-screen flashes or abrupt stops, greatly improving navigation of long, dynamically-sized lists.
AndroidRecyclerViewmobile development
0 likes · 14 min read

This article explains why a reverse‑ordered Flutter chat ListView jumps when inserting messages at both ends, analyzes the underlying Viewport‑Scrollable‑Sliver architecture, and demonstrates how configuring the center property of a CustomScrollView with multiple SliverLists eliminates the unwanted scroll offset changes.
CustomScrollViewFlutterListView
0 likes · 6 min read

This article provides an in‑depth analysis of Flutter’s CustomScrollView component, covering its three‑layer architecture, rendering pipeline, scrollable mechanics, pinned header implementation, lazy‑loading strategy, and memory reuse techniques, illustrated with practical examples from Ctrip hotel app development.
CustomScrollViewlazy loadingmobile development
0 likes · 22 min read

This article explains the technical challenges Google Photos faced—such as handling millions of images, preserving aspect ratios, enabling instant navigation, and maintaining 60fps scrolling—and details the algorithms, data chunking, justified layout, and performance optimizations that make the web UI fast and fluid.
AlgorithmLayoutfrontend
0 likes · 27 min read

This article explores the latest CSS and JavaScript features for handling page scrolling, covering scrollbar visibility tricks, custom scrollbar styling, smooth scroll APIs, sticky positioning, event throttling, viewport detection, overscroll control, and touch‑device nuances, while weighing cross‑browser support and performance trade‑offs.
accessibilityfrontendscrolling
0 likes · 17 min read
