flutter_floatwing icon indicating copy to clipboard operation
flutter_floatwing copied to clipboard

Buttons inside draggable overlay widget may randomly get stuck pressed

Open remarkked opened this issue 9 months ago • 1 comments

First of all thanks for the great package! Seems there are no errors unlike the flutter_overlay package.

Buttons inside draggable overlay widget may randomly get stuck pressed if trying press & drag overlay simultaneously. Reproducable only if there is no delay between pressing & dragging. If press button & hold some time then try to drag everything is OK: button loses focus when the dragging is over.

Steps to reproduce:

  1. Place a button inside draggable overlay widget
  2. Press it & INSTANTLY drag overlay with button pressed

Launching overlay with: @pragma("vm:entry-point") void overlayMain() { WidgetsFlutterBinding.ensureInitialized(); runApp(const FloatingApp().floatwing()); }

Logs are empty. No errors from Flutter | AndroidRuntime | FloatWindow. Only messages about position: "[window] update window overlay => {x=..., y=...}"

remarkked avatar Mar 06 '25 09:03 remarkked