Description
The drag & drop functionality keeps the chip component visible when the app goes to the background and then resumed.
This could be solved by listening to the app state changes via the AppState API, and canceling the dragging if it goes to the inactive state.
How to reproduce it:
- Start dragging a block.
- While moving the block, make the app go to the background by swiping up the screen with another finger.
- Resume the app and observe that the dragging chip is still shown and can't be dragged unless long-pressing on a block.