Skip to content

docs: Fix docs and JSDoc that do not match the code - #646

Draft
MatiPl01 wants to merge 1 commit into
mainfrom
docs/fix-outdated-pages
Draft

MatiPl01 wants to merge 1 commit into
mainfrom
docs/fix-outdated-pages

Conversation

@MatiPl01

Copy link
Copy Markdown
Owner

Description

Corrects documentation and JSDoc comments that do not match the code:

  • custom drop indicator page: the props are activeAnimationProgress and activeItemKey (not activationProgress and touchedItemKey), and the sample did not import Sortable,
  • Flex usage page: the "Details" section was copied from the Grid page (Sortable.Grid, data, renderItem),
  • onDragEnd: the data (Grid) and order (Flex) params exist only for plain JS callbacks, which was not mentioned anywhere,
  • grid rows / columns: the described item flow direction was swapped,
  • item layout animations page: there is no layoutAnimation prop, the props are itemEntering and itemExiting,
  • Flex props page: the Custom Shadow link pointed to the Grid example,
  • JSDoc: the animateScrollTo default, the Sortable.Handle props (mode, not disabled) and the fixed-order mode name.

No code changes, only comments and docs.

@vercel

vercel Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
react-native-sortables-docs Ready Ready Preview Nov 25, 2026 5:54pm UTC

@MatiPl01 MatiPl01 self-assigned this Nov 25, 2026
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 25, 2026

This branch was successfully deployed

1 active deployment
Preview — 82ad1a6a Deployed Nov 25, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant