-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not being able to drag inside the scrollView #55
Comments
Maybe you should set the children's view height difference with ScrollView |
@SHISME Thank you for the reply. Can you please give me an example? |
may like this <ScrollView
style={{
minHeight: Dimensions.get("window").height * 0.85,
backgroundColor: taknalColors.activeColor
}}>
<View>
<DraggableGrid
itemHeight={Dimensions.get("window").height * 0.24}
numColumns={3}
renderItem={this.render_item}
// Rest of the important codes
/>
</View>
</ScrollView> |
The above code isn't working |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey @SHISME
Hey , How are you doing?
I am here to ask for a big help.
I am having a problem while dragging. The library works perfectly fine but when the items start increasing , the dragging stops working. I think its due to scroll view. When I pass [ contentContainerStyle={{flex: 1}} ] to the Scroll View, the dragging works fine, but the scrolling doesnt work anymore. When I remove it, the scrolling works but the dragging doesnt.
It would be really ver great help of you if you could give me some guidance, please.
Thank you
The text was updated successfully, but these errors were encountered: