unstale

npm / yet-another-react-lightbox

yet-another-react-lightbox

What changed in yet-another-react-lightbox 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

5 new APIs and options1 behavior and defaults9 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

yet-another-react-lightbox 315 changes

New APIs and options 5

  • Adds the controller.closeOnEscape setting.

    3.32.0release notes

  • Allows portal.root to use a function provider.

    3.32.0release notes

  • Adds viewer-level configuration for reading direction.

    3.30.0release notes

  • Carousel imageProps now supports a function form.

    3.29.0release notes

  • Adds an experimental pinch zoom implementation.

    3.27.0release notes

Behavior and default changes 1

Fixes and other changes 9

  • Arguments are now passed through to the throttled callback.

    3.32.2release notes

  • Cross-origin downloads use the filename provided by the server.

    3.32.1release notes

  • Stops propagation of keyboard events that the lightbox handles.

    3.32.0release notes

  • Restores pointer events when the lightbox is nested in a modal with pointer-events:none.

    3.32.0release notes

  • RTL direction is re-detected on every render so dynamic dir changes are supported.

    3.30.1release notes

  • Fixed the counter and toolbar overlapping in RTL layouts.

    3.29.2release notes

  • Syncs the index prop during render to prevent an infinite loop.

    3.29.2release notes

  • The lightbox no longer mutates the srcSet array during render.

    3.29.1release notes

  • Improves pinch zoom accuracy.

    3.27.0release notes