Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Jan 7, 2025

Includes all of discords custom changes, for v4 these were:

gorhom/react-native-bottom-sheet@v4.6.1...discord:react-native-bottom-sheet:discord-fork-4.6.1

Discord App PR is over here:

Needs more testing and eventual adjustments

gorhom and others added 30 commits October 3, 2022 19:56
* chore: updated dependencies

* feat: rewrite the gesture api with gh2
* chore: updated dependencies

* refactor: updated ReText view for web

* chore: added cursor for handle container

* chore: updated expo version for example project

* feat: added scrollable component for web

* feat: added gesture and scroll handler for web

* chore: added getRefNativeTag for web

* feat: rewrite gesture apis with gesture handler 2 (gorhom#1126)

* chore: updated dependencies

* feat: rewrite the gesture api with gh2

* fix(gorhom#1119): fixed race condition between onmount and keyboard animations

* fix: update ref handler for web

* chore: removed unused component

* chore: updated expo

* fix: detached example on web
* chore: updated react native to 71

* chore: updated reanimated to v3

* fix: added a fix for web initialization
…hom#1335)(by @eps1lon)

* fix(BottomSheetScrollView): Scroll responder types use mixin

* chore: removed unused import

---------

Co-authored-by: gorhom <gorhom.dev@gmail.com>
…hom#1309)(by @magrinj)

* fix: bottom sheet modal appear behind native views

* feat: add bottomSheetWrapper prop to specify a custom wrapper component

* fix: edit regardless of the comments
@beqramo)

* fix: keyboard on focus

* fix: updated containerOffset top value to default to 0

---------

Co-authored-by: Mo Gorhom <gorhom.dev@gmail.com>
* chore: updated example to use expo and removed rn bare project

* chore: updated expo v50

* chore: updated map example

* chore: updated view pager example

* chore: updated react navigation example

* chore: updated native screens example

* chore: updated dependencies
)

* Added accessibility to the bottomSheet component

* Accessibility changes - BottomSheetBackdrop

* Accessibility changes - BottomSheetHandle

* Minor adjustments after review

* removed unused spread operator

* fix: removed change announcement

removed the change announcement part of the code, and the ..rest from the two mentioned files.
meishuu and others added 20 commits January 7, 2025 16:03
This style was originally added to address some lingering-sheet behavior, however, it seems that it also causes some kind of race condition or Reanimated bug. The presence of this opacity rule can cause the container to disappear on occasion. Others independently discovered the same problem here: gorhom#719 (comment)

Since we can't seem to trigger the original problematic behavior, we are reverting this opacity rule.
…n a BottomSheet scrollable using preserveScrollMomentum
* chore: update reanimated and typescript deps

* chore: misc other type updates
* Revert "Add lockableScrollableContentOffsetY which does not change when scrollable is locked (#14)"

This reverts commit 859ab16.

* Move lockableScrollableContentOffsetY into scrollable props
@ghost ghost changed the title [WIP] bottom-sheets 5.0.6 bottom-sheets 5.0.6 Jan 9, 2025
@ghost ghost marked this pull request as ready for review January 9, 2025 17:43
@ghost ghost force-pushed the discord-fork-5.0.6 branch from e561b90 to 76c0fb4 Compare January 10, 2025 20:17
@ghost ghost force-pushed the discord-fork-5.0.6 branch from 76c0fb4 to bef45c1 Compare January 10, 2025 20:17
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.