# What changed in yet-another-react-lightbox

> 15 changes in yet-another-react-lightbox 3 from its official release notes, upgrade guides and advisories: 5 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/yet-another-react-lightbox/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## yet-another-react-lightbox 3

### New APIs and options

- Adds the controller.closeOnEscape setting. (3.32.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.0)
- Allows portal.root to use a function provider. (3.32.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.0)
- Adds viewer-level configuration for reading direction. (3.30.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.30.0)
- Carousel imageProps now supports a function form. (3.29.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.29.0)
- Adds an experimental pinch zoom implementation. (3.27.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.27.0)

### Behavior and default changes

- Zoom is now supported on custom slide types. (3.31.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.31.0)

### Fixes and other changes

- Arguments are now passed through to the throttled callback. (3.32.2) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.2)
- Cross-origin downloads use the filename provided by the server. (3.32.1) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.1)
- Stops propagation of keyboard events that the lightbox handles. (3.32.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.0)
- Restores pointer events when the lightbox is nested in a modal with pointer-events:none. (3.32.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.32.0)
- RTL direction is re-detected on every render so dynamic dir changes are supported. (3.30.1) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.30.1)
- Fixed the counter and toolbar overlapping in RTL layouts. (3.29.2) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.29.2)
- Syncs the index prop during render to prevent an infinite loop. (3.29.2) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.29.2)
- The lightbox no longer mutates the srcSet array during render. (3.29.1) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.29.1)
- Improves pinch zoom accuracy. (3.27.0) — [release notes](https://github.com/igordanchenko/yet-another-react-lightbox/releases/tag/v3.27.0)
