plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Request]: share_plus Disable touch input on share screen open

Open Shawn-sudo opened this issue 3 years ago • 2 comments

Plugin

share_plus

Use case

Disable touch inputs when share screen is opened

Currently looks like: https://vimeo.com/746740170 In the video, "Invite Friend" button calls Share.share("You can get ...") I was tapping the "Invite Friend" button area above the share panel on iOS.

Alternative Solution I've considered

I could wrap the whole widgets with AbsorbPointer(absorbing: true/false, child: childhere), but this makes the widget tree a little bit messy

Proposal

Disable touch input when the share panel is opened

Shawn-sudo avatar Sep 06 '22 04:09 Shawn-sudo

This doesn't have anything to do with the plugin. You could try to disable the button and wait for a response on shareWithResult which returns after the user selected an option.

miquelbeltran avatar Sep 06 '22 13:09 miquelbeltran

@miquelbeltran ye i can definitely write some codes to block touch inputs by myself, but I just hope it is provided by default. The behavior shown in the video is definitely unexpected.

Shawn-sudo avatar Sep 06 '22 17:09 Shawn-sudo

I'm not sure how we can handle this in the plugin but it definitely that you should handle by yourself and not the plugin.

SirusCodes avatar Oct 22 '22 21:10 SirusCodes

Oh ok then I'll close this issue

Shawn-sudo avatar Dec 07 '22 04:12 Shawn-sudo