Sign in Get 3 free credits

Try a job or a niche: tiktok captions, study notes, excel formulas. Press Esc to close.

React Scroll Menu Control

Controls scrolling in react-horizontal-scrolling-menu and avoids the silent bugs where nothing moves.

Claude's review

7/10 Source cited fixes for silent failures in one React scrolling library, with correct and wrong examples.

We asked Claude the question you would ask: would I be glad I installed this? Two separate reviews, the second blind to the first, must both rate a skill 7 or higher before we sell it.

In detail

Imperative scrolling for react-horizontal-scrolling-menu: scrollToItem(getItemById(id), behavior, inline, block), scrollNext/scrollPrev, apiRef for controlling the menu from outside (fire methods, never read data), getItemElementById/getItemElementByIndex for just-added items, and page-at-a-time navigation with slidingWindow + getItemsPos. Load when scrolling to an item on mount or selection, controlling the menu from outside, scrolling after adding items dynamically, or when scrollToItem silently does nothing or the whole page jumps to the menu.

How you use it

  1. Add it to your pack, then download your pack (1 credit).
  2. In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
  3. Ask Claude for the job in your own words. It uses the skill when your request matches what it does. Step by step guide

Safety check

Nothing risky found: no hidden instructions, no download and run, no reading of saved passwords or keys.

An automated scan lowers risk but cannot promise zero risk. How we check skills

Preview

The first lines of SKILL.md
---
name: 'menu-scrolling'
description: >
  Imperative scrolling for react-horizontal-scrolling-menu:
  scrollToItem(getItemById(id), behavior, inline, block), scrollNext/scrollPrev,
  apiRef for controlling the menu from outside (fire methods, never read data),
  getItemElementById/getItemElementByIndex for just-added items, and
  page-at-a-time navigation with slidingWindow + getItemsPos. Load when
  scrolling to an item on mount or selection, controlling the menu from
  outside, scrolling after adding items dynamically, or when scrollToItem
  silently does nothing or the whole page jumps to the menu.
metadata:
  type: core
  library: 'react-horizontal-scrolling-menu'
  library_version: '8.3.2'
sources:
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:README.md'
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:src/createApi.ts'
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:src/helpers.tsx'
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:src/slidingWindow/slidingWindow.ts'
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:src/getItemsPos.ts'
  - 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/ScrollToItem/ScrollToItem.source.tsx'
---

# Imperative Scrolling

## Setup

Click an item to center it. The api object comes from `VisibilityContext`
inside the menu, from the `apiRef` prop outside it, and as the first argument
of every callback prop (`onInit`, `onUpdate`, `onWheel`, `onScroll`).

```tsx
import React from 'react';
import {
  ScrollMenu,
  VisibilityContext,
  type publicApiType,
} from 'react-horizontal-scrolling-menu';
import 'react-horizontal-scrolling-menu/dist/styles.css';
...

From asmyshlyaev177's repository, MIT licence.

Related skills

  • Checked

    ComfyUI custom node UI

    Adds widgets, sidebar tabs, commands and dialogs to ComfyUI custom nodes, so your node feels built in.

    by jtydhr88 325
    7/101 credit
  • Checked

    Scrolling menu upgrade

    Finds outdated react-horizontal-scrolling-menu code and rewrites it for version 8 so the menu works again.

    by asmyshlyaev177 789
    7/101 credit
  • Checked

    Scroll Menu Testing and SSR

    Gets react-horizontal-scrolling-menu working in Next.js and tested in Jest and Playwright without flicker.

    by asmyshlyaev177 789
    7/101 credit
  • Checked

    Conform React Forms

    Builds React forms with Conform and Zod that validate on the server and still work before JavaScript loads.

    by TerminalSkills 221
    7/101 credit
  • Checked

    Next.js 16 App Builder

    Builds Next.js 16 apps the current way, with Server Components, Server Actions, caching and the new proxy file.

    by TerminalSkills 221
    7/101 credit
  • Checked

    TinyBase Local First Apps

    Builds offline friendly apps on a TinyBase store, saving locally or to a database and syncing across devices.

    by TerminalSkills 221
    7/101 credit

Secure checkout

Credits

AUD

  1. 1Choose
  2. 2Pay on Square
  3. 3Credits added