-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dont respond to any clicks in target #346
Comments
SimformSolutionsPvtLtd#346 Dont respond to any clicks in target
Hey @Tristannos, if you want to test my fix you can use this in your pubspec: showcaseview:
git: https://github.com/luccasclezar/flutter_showcaseview.git Or fork my repo and change the url to your fork. |
@Tristannos you can do this by setting
|
@luccasclezar your PR is related to overlay layout so it won't have any effect on gestures. |
@ujas-m-simformsolutions The overlay that prevents gestures from passing through the barrier is misplaced. My PR fixes the overlay's position so that it can correctly intercept gestures. 🙂 |
Hi @Tristannos , You can use below code to disable gestures on target widget.
PS: Closing this issue for now, feel free to reopen this issue if this solutions doesn't work for you. |
In my case I have a FAB as target widget and if I tap on it, then it's |
have you tried the configuration I have shared? |
Don't forget to remove
|
Yep, since the first time,
Yess, this was my initial configuration, I just checked each property an it's documentation and this one you propose is the right but it doesn't work as expected in my case. I have |
Yup that is fine, I tried with floating action button in example with the same config I shared with you and it works fine it ignores the omPressed event of FAB. Can you please share a reproducible code snippet of the issue you are facing ? |
|
This issue is reproduciable. @luis901101 Thanks for the code snippet. was this working as expected in previous flutter version ? |
#348 showcaseview after upgrade to flutter 3.7.1 not disable target click
Not sure, I just started using it in a new project with this 3.7.4 flutter version |
I'm having the same issue since upgrading to flutter 3.7.x. |
we will release the new version as soon as possible. meanwhile you can use the previoud version of showcaseview |
#348 showcaseview after upgrade to flutter 3.7.1 not disable target click
This issue has been fixed in latest release
|
@Tristannos does your issue resolved with new version showcaseview: ^2.0.2?! |
Hi @AlmutawakelSukaina , please remove flag
Note: |
@vatsaltanna Thank you that's work for me |
* master: (55 commits) 📝 Update CHANGELOG.md file for version 2.0.3. (SimformSolutionsPvtLtd#368) feat: ✨ Add callback when barrier has been clicked (SimformSolutionsPvtLtd#359) fixed-child-constructor-invocation (SimformSolutionsPvtLtd#361) ✨ (SimformSolutionsPvtLtd#148) Add feasibility to add `textDirection` of `title` and `description`. (SimformSolutionsPvtLtd#356) fix: 🐛 SimformSolutionsPvtLtd#346 Don't respond to any clicks in target & (SimformSolutionsPvtLtd#351) fix: 🐛 Flutter inspector makes screen grey (SimformSolutionsPvtLtd#353) 🔖 version bump 2.0.0+1 to 2.0.1 (SimformSolutionsPvtLtd#341) fix: 🐛 Take in account view insets (such as keyboard) (SimformSolutionsPvtLtd#288) Miscellaneous changes Add missing copyright notice in enum.dart feat: ✨ Add padding to title and description fix: 🐛 PR title validation workflow issue (SimformSolutionsPvtLtd#322) feat: ✨ Provide Manual option for vertical position of tooltip (SimformSolutionsPvtLtd#306) feat: ✨ Enable/disable showcase globally. (SimformSolutionsPvtLtd#319) ✨ add mac support in example. (SimformSolutionsPvtLtd#197) Fix: 🔨 Remove title validation workflow (SimformSolutionsPvtLtd#321) chore: 👷workflow for PR title validation (SimformSolutionsPvtLtd#286) release: 🔖 version bump 2.0.0 to 2.0.0+1 (SimformSolutionsPvtLtd#302) release: 🔖 version bump 1.1.8 to 2.0.0 (SimformSolutionsPvtLtd#301) fix: 🐛 logic update in `tooltip_widget.dart` (SimformSolutionsPvtLtd#300) ... # Conflicts: # example/ios/Flutter/AppFrameworkInfo.plist # example/ios/Runner.xcodeproj/project.pbxproj # example/lib/main.dart # lib/src/showcase.dart # lib/src/showcase_widget.dart # lib/src/tooltip_widget.dart
…et & (SimformSolutionsPvtLtd#351) SimformSolutionsPvtLtd#348 showcaseview after upgrade to flutter 3.7.1 not disable target click
When i am showcasing things i don't want them to be able to click on the item in the target.
Make the target absorb the pointer when the current showcase is selected
The text was updated successfully, but these errors were encountered: