Skip to content

Commit

Permalink
Added IgnorePointer to FadeRAWA.popupAnimationBuilder to ignore g…
Browse files Browse the repository at this point in the history
…estures when closed (#1591)
  • Loading branch information
JaffaKetchup authored Jul 17, 2023
1 parent 3f18982 commit 39962b0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/src/layer/attribution_layer/animation.dart
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,9 @@ class FadeRAWA implements RichAttributionWidgetAnimation {
opacity: isExpanded ? 1 : 0,
curve: isExpanded ? popupCurveOut : popupCurveIn,
duration: buttonDuration,
child: child,
child: IgnorePointer(
ignoring: !isExpanded,
child: child,
),
);
}

0 comments on commit 39962b0

Please sign in to comment.