Skip to content

Cant drag component on modal #69

Description

@hak11

how to make component dragable on modal.

drag components work perfectly in screen, but when I put a component in the modal, it makes it non-dragged

package.json

{
     ...,
    "react-native": "https://github.com/expo/react-native/archive/sdk-39.0.3.tar.gz",
    "expo": "~39.0.2",
    "react-native-drax": "^0.7.2",
   ....
}

import {
	View, Modal
} from 'react-native'


<Modal
 animationType="slide"
 transparent={false}
 visible={true}
>
<DraxProvider>
  <DraxScrollView>
      <DraxView ...... />
      <DraxView ...... />
      <DraxView ...... />
      <DraxView ...... />
  </DraxScrollView>
</DraxProvider>
</Modal>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionQuestion about the library and/or its usageresearchFor issues which require additional research work

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions