Skip to content

Buttons inside draggable overlay widget may randomly get stuck pressed #31

@remarkked

Description

@remarkked

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=...}"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions