Mindinventory / flutter_draggable_gridview

This package supports drag & drop widgets inside the GridView.builder for multiplatform. It provides all the properties which are available in Gridview. builder and easy to implement with the few lines of code.
https://www.mindinventory.com/flutter-app-development.php
MIT License
100 stars 19 forks source link

Draggable Item disappear when dragging outside the container #18

Closed appiskeyBatool closed 1 year ago

appiskeyBatool commented 1 year ago

Facing the issue whenever trying to drag the item outside container, they draggable item disappear or vanished from it. Other than that, if dragged it on some empty slot the same thing happens and item disappeared.

https://user-images.githubusercontent.com/101095926/212085803-88e8218f-2a91-4b4c-8320-effc15ac6287.mp4

https://user-images.githubusercontent.com/101095926/212085840-3ae5ae09-105a-45b4-932f-465907eff5da.mp4

Flutter doctor: Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 2.5.3, on macOS 12.6 21G115 darwin-x64, locale en-GB) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc1) [✓] Xcode - develop for iOS and macOS [✓] Chrome - develop for the web [✓] Android Studio (version 2021.1) [✓] VS Code (version 1.65.1) [✓] Connected device (2 available)

using: flutter_draggable_gridview: ^0.0.7

appiskeyBatool commented 1 year ago

Can someone help me to resolve this issue. II need to fix this issue ASAP. Thanks in advance.

deep-mindinventory commented 1 year ago

@appiskeyBatool can you please post the error log if getting it? We are unable to reproduce it.

huLasPet commented 1 year ago

Hi, I'm getting the same problem. There are no errors in the log and this happens on both Android and iOS - physical and emulated devices as well. It only happens if isOnlyLongPress is set to true. When the error comes up and the picture disappears it's like the app doesn't know that the screen is not being touched anymore, the function in dragCompletion doesn't run at all. Works perfectly fine if isOnlyLongPress is false.

sahilmind commented 1 year ago

@appiskeyBatool @huLasPet Fixed disappear issue in flutter_draggable_gridview: ^0.0.8 please have a look. I am happy to help you if required. Thanks!