Skip to content

feat(Gallery): add contained mode and controlled active item index#397

Open
artemnikotin wants to merge 1 commit into
gravity-ui:mainfrom
artemnikotin:feat/gallery-contained-and-controlled-index
Open

feat(Gallery): add contained mode and controlled active item index#397
artemnikotin wants to merge 1 commit into
gravity-ui:mainfrom
artemnikotin:feat/gallery-contained-and-controlled-index

Conversation

@artemnikotin

Copy link
Copy Markdown
  • add contained prop to render the gallery inline instead of in a modal
  • add controlled activeItemIndex / onActiveItemIndexChange props
  • add GalleryItem.id for identity-based preview keys

I hereby agree to the terms of the CLA available at: link.

  - add `contained` prop to render the gallery inline instead of in a modal
  - add controlled `activeItemIndex` / `onActiveItemIndexChange` props
  - add `GalleryItem.id` for identity-based preview keys
@artemnikotin artemnikotin force-pushed the feat/gallery-contained-and-controlled-index branch from 6ceafa5 to cfe3760 Compare July 7, 2026 07:31
@artemnikotin artemnikotin marked this pull request as ready for review July 7, 2026 07:34
@artemnikotin artemnikotin requested a review from kseniya57 as a code owner July 7, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant