Repeating Group Roll is a Bubble plugin that provides robust, touch-friendly automatic scrolling (continuous or per-item) for repeatable groups, with drag, momentum, hover-pause, and publishable states for app workflows.

Nebula - Repeating Group Roll
Description
OverviewRepeating Group Roll is a Nebula plugin that adds configurable automatic scrolling to repeating-group style containers. It supports continuous and per-item modes, horizontal or vertical operation, pause-on-hover, touch/mouse drag with momentum, looping or reversing at ends, and a small runtime API for start/stop/seek integration.
How It Works
- Attach Repeating Group Roll to a container (by element id). The plugin locates a scrollable child or uses the container itself as the scrolling element.
- Choose operation mode: continuous (frame-based smooth scroll) or by_item (interval-based, advances one item per step).
- Configure direction, speed (pixels/sec) or interval (ms), loop and end behavior (loop or reverse), and whether to pause while hovering.
- Plugin exposes lightweight runtime APIs (start, pause, resume, stop, scrollToIndex) and publishes states (is_running, current_offset, current_index).
- Touch and mouse drag are supported; dragging temporarily pauses auto-scroll and applies momentum scrolling on release, restoring auto-scroll if it was running before the drag.
When to Use
- Auto-advancing carousels or marquee-like lists that should progress automatically but remain user-interactive.
- Large vertical or horizontal feeds where you want gentle, configurable automated movement for demos, kiosks, or curated displays.
- UI patterns that require both programmatic control (start/pause/seek) and natural touch behaviour (drag + momentum).
Benefits
- Smooth, predictable automatic scrolling with robust edge handling (looping, reversing, or stop on end).
- Natural user experience: pause-on-hover, drag support, and momentum restores flow without losing control.
- Small, clear runtime API and published states make it simple to integrate with workflows and triggers.
- Scrollbar hidden (visual) but fully functional to keep UI clean while preserving scroll accessibility.
Key Features
- Modes: continuous (frame-accurate) and by_item (interval per item).
- Directions: up / down / left / right; auto-detection of horizontal vs vertical behavior for elements.
- Configurable speed (px/sec) and interval (ms), pauseOnHover, loop, reverseOnEnd, startOnLoad.
- Drag & touch support with momentum and automatic resume when appropriate.
- Runtime API: start, pause, resume, stop, scrollToIndex; publishes is_running, current_offset, current_index and emits events: started, paused, resumed, stopped, tick, reached_end, reached_start.
- Automatic discovery of scrollable child elements when container itself isn't scrollable.
- Graceful fallbacks and defensive checks to work even when provided canvas/context is nonstandard.