4 个仓库
Utilities for controlling the specific alignment and centering of elements within a scrollable viewport.
Distinct from Scroll State Controllers: Distinct from Scroll State Controllers by focusing on alignment and anchoring (e.g. centering) rather than general position/velocity.
Explore 4 awesome GitHub repositories matching user interface & experience · Scroll Alignment Controls. Refine with filters or upvote what's useful.
react-virtualized is a library of components for rendering massive lists and tables by drawing only the elements visible in the viewport. It provides specialized layout managers including a windowed grid component and a dynamic height list manager. The project includes a masonry layout engine for packing items of varying heights and widths, as well as an infinite scroll interface for incrementally fetching and appending data. The library covers a broad range of virtualization capabilities, including frozen grid elements, reverse list rendering, and synchronized viewport scrolling. It also su
Determines how target cells align within the viewport, such as centering them during scroll operations.
DiscreteScrollView 是一个用于 React Native 的 UI 组件和动画库,旨在创建居中滚动视图和无限滚动列表。它提供了一种机制,使活动选择项保持在视口中心,同时保持相邻项的可见性。 该库支持通过在数据集内无边界循环来实现无限轮播。它允许根据项目相对于视图中心的实时滚动位置对项目应用视觉变换。 该工具集包括监控选择状态和配置滚动行为的功能,例如限制滚动方向或控制用户滑动项目的方式。它还提供了在滚动位置或居中项目更新时触发自定义操作的逻辑。
Provides logic to ensure the active element remains aligned with the center of the scrollable viewport.
GravitySnapHelper 是一个 Android 列表滚动控制器和 RecyclerView 捕捉助手,旨在管理滚动速度并将列表项对齐到特定的容器边缘。它作为一个定位机制,确保当用户交互停止时,元素能够捕捉到视口边界。 该项目提供了对从右到左布局方向的特定支持,确保列表项能够正确对齐到屏幕边缘,无论设备语言方向如何。 该工具包括用于调节滚动移动的功能,例如使用像素偏移或容器百分比限制滑动距离。它还监控滚动速度和速率,以确定项目何时应触发向下一个捕捉目标的转换。
Manages scroll velocity and restricts fling distance to control the alignment and centering of elements within a viewport.
React tiny virtual list is a zero-dependency component library that optimizes performance for extensive vertical and horizontal collections by rendering only the items currently visible in the viewport. It handles large datasets efficiently while supporting variable item dimensions and dynamic content updates at runtime. The component supports both horizontal and vertical scroll directions, absolute positioning layouts, and dynamic offset measurements computed via fixed numbers, size arrays, or callback functions. It also provides imperative methods to programmatically scroll or jump to speci
Manages scroll offsets, programmatically jumps to specific item indices, and aligns scrolled items within the viewport.