question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roadmap for v2 ( Reanimated v1 )

See original GitHub issue

Bottom Sheet v2 ( Reanimated v1 )

These are the planned improvements and features for v2.

Improvements

  • Change the current v2 alpha release into v3.
  • Fix measuring bottom sheet container to use its actual size than window height. #77
  • [blocker] Extract BottomSheetModal into a separate repository and package, or refactor repository to become a monorepo.
  • [blocker] Add documentation site.

Features

  • Add animateOnMount prop to snap to the initial snap point index when the sheet is mounted. (#78)
  • Add dynamic snap points feature. #32
  • Add enableContentPanningGesture prop to allow panning sheet by its content view or scrollables. #55
  • [not blocker] Allow scrollables bouncing.
  • Refactor BottomSheetModal to make it declarative component, using @gorhom/portal.
  • [blocker] Add default backdrop #45.

Install Stable Release

yarn add @gorhom/bottom-sheet

also check out the new documents website ( still in progress ) 🎉

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:24 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
gorhomcommented, Dec 22, 2020

hi @heejongahn , unfortunately present in v1 was blocking any updates to the modal by the parent, and in order to solve that i had to convert the BottomSheetModal into a declarative component.

present in v2 is still needed, but only to mount the component, look at the usage doc, hope it helps.

hopefully this is the last major breaking changes release

1reaction
heejongahncommented, Dec 22, 2020

@gorhom First off, thanks for the great lib!

I just want to double-check: is presenting BottomSheetModal with useBottomSheetModal deprecated in v2, in favor of BottomSheetModal component? I already have more than 50 useBottomSheetModal usages in my app, and want to use new dynamic snap point feature but it seems like upgrading to v2 requires rewriting all hook-based BottomSheetModals into components… 😢

Read more comments on GitHub >

github_iconTop Results From Across the Web

Migrating from Reanimated 1.x | React Native Reanimated
We wanted to make it possible to migrate from Reanimated 1 to Reanimated 2 incrementally. When installing Reanimated 2, you will be able...
Read more >
React Native Reanimated 2 - a webinar by Krzysztof Magiera
Following the recent release of the new open-source library - Reanimated 2, we wanted to share with the community more information about ...
Read more >
Tweets with replies by React Native Now (@reactnativenow) / Twitter
's #reanimated v3, #expo SDK45, and blog posts from eliminating all unnecessary pre-renders ... i just released BottomSheet v2 ( Reanimated v1 )...
Read more >
gorhom/bottom-sheet - NPM Package Overview - Socket.dev
A performant interactive bottom sheet with fully configurable options . Version: 2.0.0-alpha.3 was published by gorhom.
Read more >
react-native-reanimated:downloadboost - You.com | The AI ...
React Native's Animated library reimplemented. Reanimated 2 is here! Check out our documentation page for more information. React Native Reanimated provides a ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found