Skip to content

Cant drag component on modal #69

@hak11

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions