flutter_showcaseview icon indicating copy to clipboard operation
flutter_showcaseview copied to clipboard

How to trigger the target's default click behavior.

Open RaymondGsc opened this issue 1 year ago • 1 comments

Describe the bug Here is my code, I set disableDefaultTargetGestures to false but I found I still cannot trigger the target's default click event. I have to click the target only to dismiss the showcase first , then the target can be clickable.

BTW, the I pass a clickable list to the "child" attribute.

image

RaymondGsc avatar Jul 29 '24 10:07 RaymondGsc

@RaymondGsc it might have caused by https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/412 fix PR @aditya-css

pawanbangar avatar Aug 06 '24 15:08 pawanbangar

Hi @RaymondGsc, When you set disposeOnTap as true then you have provide onTargetClick and manually handle all the actions (next, dispose, etc). Referring document comment for those properties would help understanding those, please see image attached.

As for your problem's solution, please set disposeOnTap as false and not pass anything for onTargetClick when you desire the default click events.

image

aditya-chavda avatar Sep 07 '24 15:09 aditya-chavda