diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c6b644e..80d60186 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ - Fixed [#645](https://github.com/SimformSolutionsPvtLtd/showcaseview/issues/645) - Prevent re-entrant calls to _onComplete during rapid barrier taps. Fixed by @[apizon](https://github.com/apizon) - Fixed [#639](https://github.com/SimformSolutionsPvtLtd/showcaseview/issues/639) - Add null-safety guards for async sequence transitions. Fixed by @[vasu-nageshri](https://github.com/vasu-nageshri) - Fixed [#622](https://github.com/SimformSolutionsPvtLtd/showcaseview/issues/622) - Resolve Semantics issue when using `go_router` and `showSemanticsDebugger` flag. Fixed by @[Sahil-Simform](https://github.com/Sahil-Simform) +- Fix [#620](https://github.com/SimformSolutionsPvtLtd/showcaseview/pull/620)- Set MouseRegion opaque property to false for improved interaction in TargetWidget, TooltipWrapper, and FloatingActionWidget. Fixed by @[RuslanTsitser](https://github.com/RuslanTsitser) ## [5.0.2] diff --git a/lib/src/showcase/target_widget.dart b/lib/src/showcase/target_widget.dart index 4d8be894..5c3ed1bf 100644 --- a/lib/src/showcase/target_widget.dart +++ b/lib/src/showcase/target_widget.dart @@ -97,6 +97,7 @@ class TargetWidget extends StatelessWidget { child: disableDefaultChildGestures ? IgnorePointer(child: targetWidgetContent) : MouseRegion( + opaque: false, cursor: SystemMouseCursors.click, child: targetWidgetContent, ), diff --git a/lib/src/tooltip/tooltip_wrapper.dart b/lib/src/tooltip/tooltip_wrapper.dart index 3f8626a9..e569f651 100644 --- a/lib/src/tooltip/tooltip_wrapper.dart +++ b/lib/src/tooltip/tooltip_wrapper.dart @@ -176,6 +176,7 @@ class _ToolTipWrapperState extends State final defaultToolTipWidget = widget.container != null ? MouseRegion( + opaque: false, cursor: widget.onTooltipTap == null ? MouseCursor.defer : SystemMouseCursors.click, @@ -187,6 +188,7 @@ class _ToolTipWrapperState extends State ), ) : MouseRegion( + opaque: false, cursor: widget.onTooltipTap == null ? MouseCursor.defer : SystemMouseCursors.click, diff --git a/lib/src/widget/floating_action_widget.dart b/lib/src/widget/floating_action_widget.dart index 46bc12c1..498ff4da 100644 --- a/lib/src/widget/floating_action_widget.dart +++ b/lib/src/widget/floating_action_widget.dart @@ -171,7 +171,7 @@ class FloatingActionWidget extends StatelessWidget { bottom: bottom, width: width, height: height, - child: Material(color: Colors.transparent, child: child), + child: Material(type: MaterialType.transparency, color: Colors.transparent, child: child), ); } }