Skip to content

Conversation

@dohooo
Copy link
Owner

@dohooo dohooo commented Dec 13, 2025

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

main is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, run changeset pre exit on main.

⚠️⚠️⚠️⚠️⚠️⚠️

Releases

[email protected]

Patch Changes

  • #878 79ae0e6 Thanks @dohooo! - # Fix gesture blocking when using flex-based sizing

    Bug Fixes

    Gesture Blocking with flex: 1

    Fixed an issue where gestures were blocked or delayed when using style={{ flex: 1 }} instead of explicit width/height props.

    Root Cause: Race condition between sizeReady (SharedValue, updates immediately on UI thread) and size (React state, updates asynchronously). When sizeReady became true, the React state size was still 0, causing gesture handlers to incorrectly block input.

    Solution: All worklet functions now use resolvedSize.value (SharedValue) instead of React state size to ensure consistent synchronization on the UI thread.

    itemWidth/itemHeight Not Working

    Fixed an issue where itemWidth/itemHeight props were being ignored - items rendered at container width instead of the specified item dimensions.

    Root Cause: ItemLayout.tsx was prioritizing style.width over itemWidth prop.

    Solution: Now correctly prioritizes explicit itemWidth/itemHeight props for item sizing.

    Affected Files

    • src/components/ScrollViewGesture.tsx - Fixed race condition in gesture handlers
    • src/components/ItemLayout.tsx - Fixed itemWidth/itemHeight priority
  • #875 13861ac Thanks @dohooo! - Fix web documentation examples crash by upgrading react-native-worklets from 0.5.1 to 0.5.2. This resolves the "createSerializableObject should never be called in JSWorklets" error that occurred on web platform.

@vercel
Copy link

vercel bot commented Dec 13, 2025

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

Project Deployment Review Updated (UTC)
react-native-reanimated-carousel Ready Ready Preview, Comment Dec 13, 2025 8:36am

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Dec 13, 2025
@dosubot
Copy link

dosubot bot commented Dec 13, 2025

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

@dosubot dosubot bot added the bug Something isn't working label Dec 13, 2025
@codecov
Copy link

codecov bot commented Dec 13, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.38%. Comparing base (79ae0e6) to head (eee6e7b).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #876      +/-   ##
==========================================
+ Coverage   82.28%   82.38%   +0.09%     
==========================================
  Files          35       35              
  Lines        1016     1016              
  Branches      346      346              
==========================================
+ Hits          836      837       +1     
  Misses         81       81              
+ Partials       99       98       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dohooo dohooo force-pushed the changeset-release/main branch from 8677cd7 to eee6e7b Compare December 13, 2025 08:35
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Dec 13, 2025
@dohooo dohooo merged commit c2ecdca into main Dec 13, 2025
4 checks passed
@dohooo dohooo deleted the changeset-release/main branch December 13, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants