Scrolling menu RTL support
Adds scroll easing and right to left menus to react-horizontal-scrolling-menu, avoiding the noPolyfill trap.
Claude's review
7/10 scroll menu transitions and RTL guidance with the noPolyfill trap and working easing example, one library only
We asked Claude the question you would ask: would I be glad I installed this? We only sell skills it rates 7 or higher.
In detail
Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless noPolyfill={false} (string 'smooth' | 'auto' behaviors still reach native scrollIntoView); the RTL prop (only a direction: rtl CSS class) and its limits — never combine RTL with transition props. Load when scroll animation speed/easing has no effect, when customizing transitions, or when building RTL menus.
How you use it
- Add it to your pack, then download your pack (1 credit).
- In Claude, open Customize > Skills and upload the zip. Code execution needs to be on under Settings > Capabilities.
- 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-transitions-rtl'
description: >
Animate react-horizontal-scrolling-menu scrolling and build right-to-left
menus: noPolyfill defaults to true since v8, so transitionDuration (default
500), a custom-easing-function transitionBehavior, and per-call
ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev
are silently ignored unless noPolyfill={false} (string 'smooth' | 'auto'
behaviors still reach native scrollIntoView); the RTL prop (only a
direction: rtl CSS class) and its limits — never combine RTL with
transition props. Load when scroll animation speed/easing has no effect,
when customizing transitions, or when building RTL menus.
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/helpers.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:src/types.ts'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:src/index.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:src/createApi.ts'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/CustomTransition/CustomTransition.source.tsx'
- 'asmyshlyaev177/react-horizontal-scrolling-menu:stories/RTL/RTL.source.tsx'
---
# react-horizontal-scrolling-menu — Transitions and RTL
The single most important fact: **`noPolyfill` defaults to `true` since
v8.0.0** (`src/index.tsx:183`). With the default, every scroll uses native
`Element.scrollIntoView`: `transitionDuration`, a function-valued
`transitionBehavior`, and `ScrollOptions` `duration`/`boundary` are silently
discarded (`src/helpers.tsx:72-77`). Only the string behaviors
`'smooth'`/`'auto'` survive — they are forwarded to the native call, with
`'smooth'` as the fallback (`src/helpers.tsx:60-73`). Any duration/easing
work starts by setting `noPolyfill={false}`, which routes scrolling through
the `smooth-scroll-into-view-if-needed` polyfill. The one exception: RTL
menus must keep the default (see Tensions).
## Setup
...From asmyshlyaev177's repository, MIT licence.
Related skills
-
Checked
Web design builder
Builds polished web pages, dashboards and prototypes in HTML, CSS and React, then checks them in a browser.
8/101 credit -
Checked
Distinctive UI design
Builds and restyles pages and components with a clear visual direction, so they do not look AI generated.
7/101 credit -
Checked
Dimensional spec drawing
Makes an Apple style monochrome dimension drawing of a UI component or product, ready to use as a spec sheet.
8/101 credit -
Checked
UI motion design
Sets timing, easing and choreography for UI animations and transitions so the motion feels natural.
8/101 credit -
Checked
Frontend UI builder
Builds accessible, responsive interfaces that meet WCAG and look hand made rather than AI generated.
7/101 credit -
Checked
Interface motion decisions
Decides easing, duration, springs and tap targets for menus and modals, so your interface feels responsive.
8/101 credit