Skip to content

Document the gesture area's bounded zoom props - #581

Merged
simonhamp merged 2 commits into
mainfrom
docs/gesture-area-bounded
Nov 3, 2026
Merged

simonhamp merged 2 commits into
mainfrom
docs/gesture-area-bounded

Conversation

@simonhamp

Copy link
Copy Markdown
Member

Documents bounded and content-ratio on the gesture area, from NativePHP/mobile-air#603 (the element) and NativePHP/mobile-ui#173 (the iOS and Android renderers). Keep this as a draft until both are merged.

The page only covered pan-y, and bounded needs pan-x and pinch too, so those are documented as well, with pinch-min and pinch-max. A new "Zoomable images" section explains what bounded does, with a Blade example and the component's shared values.

Version labels: the new props are labelled mobile 4.7 and mobile-ui 0.9, because they need both packages. That assumes #603 and #173 land before those releases are tagged. If they slip, the labels need moving. config/docs.php gets mobile-ui 0.8 (released, it was missing) and 0.9, the same way 4.7 was added ahead of its release in #564.

The events (@dragEnd, @pinchEnd, @swipe) and swipe-fingers are still undocumented on this page. I left them out to keep this to the new props.

Docs tests pass, and the page renders locally.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…hes (#587)

Adds snap-x / snap-y and a Swipe to reveal section, documents @Dragend,
@pinchEnd, @swipe and swipe-fingers, and says how a gesture area gets along
with an enclosing scroll view, iOS 26's swipe back and pressables.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@simonhamp
simonhamp merged commit 4298ddf into main Nov 3, 2026
3 checks passed
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