-
-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
bugSomething isn't workingSomething isn't workingcontraindicationNegative behavior that arises only when combining Drax with other librariesNegative behavior that arises only when combining Drax with other librariesgesturesRelated to gesture handlingRelated to gesture handlingquestionQuestion about the library and/or its usageQuestion about the library and/or its usageresearchFor issues which require additional research workFor issues which require additional research workstylingRelated to styling the componentsRelated to styling the components
Description
Thanks for creating this library. Is there a way to control the drag offset? My use case is as follows:
(A) I have a bottom sheet using react-native Animated (the standard RN Animated not Reanimated).
(B)In the bottom sheet, I have some icons for various apps, e.g., Facebook, Insta, etc., which are all DraxView draggables.
(C) Issue: When I start to drag, for whatever reason, the DraxView starts a few inches above where my mouse is.
Hypothesis: I think DraxView for some reason is offsetting the starting position with my bottom sheet -- not sure why. Is there a way to control this?
Adding 3 files. One is the page. The other is the bottom sheet. The other is the widget component I created wrapping DraxView
Archive.zip
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcontraindicationNegative behavior that arises only when combining Drax with other librariesNegative behavior that arises only when combining Drax with other librariesgesturesRelated to gesture handlingRelated to gesture handlingquestionQuestion about the library and/or its usageQuestion about the library and/or its usageresearchFor issues which require additional research workFor issues which require additional research workstylingRelated to styling the componentsRelated to styling the components