MixinNetwork / MixinNetwork/flutter-plugins
[desktop_drop] Capture DnD events in the visible page
@boyan01 is already working on this.
Since Aug 21, 2021.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
Our app has a typical master-detail setup, where dragging files into the master page will create a new entry, and doing it on the detail page will add to the existing entry.
The problem we're having is that when we drag items into the detail page, the master page also reacts to the drag-and-drop events, despite being in the background.
I believe this is due to how the Flutter Navigator works. We're using Navigator.push() to load the detail page, but it seems the master page is still active in the background. Normally this isn't an issue since touch events are captured by the topmost page.
Is there any recommendation on how to get around this? Better would be if the DropTarget could capture and consume those events itself.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.