-
Notifications
You must be signed in to change notification settings - Fork 28.4k
CompositedTransformFollower responds to taps even when showWhenUnlinked is false #21320
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
Comments
how about manually hiding CompositedTransformFollower when showWhenUnlinked is false ?? |
You mean when the follower is unlinked from the target? Is there an efficient way to listen to that? |
did you find a solution? does the issue still exist with current flutter stable? |
yes, the issue is still there my 'flutter doctor -v' [✓] Flutter (Channel master, v1.10.15-pre.351, on Linux, locale en_US.UTF-8)
• Flutter version 1.10.15-pre.351 at /home/abed/.local/flutter
• Framework revision 8e0799a657 (31 hours ago), 2019-10-30 23:33:38 -0700
• Engine revision b16eab6aff
• Dart version 2.6.0 (build 2.6.0-dev.8.2 d50c158d42)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /home/abed/Android/Sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-29, build-tools 29.0.2
• Java binary at: /usr/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_222-8u222-b10-1ubuntu1~18.04.1-b10)
• All Android licenses accepted.
[✓] Chrome - develop for the web
• Chrome at google-chrome
[✓] Linux toolchain - develop for Linux desktop
• clang++ 6.0.0
• GNU Make 4.1
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/setup/#android-setup for detailed instructions).
[✓] IntelliJ IDEA Community Edition (version 2019.2)
• IntelliJ at /opt/idea-IC
• Flutter plugin version 40.2.4
• Dart plugin version 192.7402
[✓] VS Code (version 1.39.2)
• VS Code at /usr/share/code
• Flutter extension version 3.5.1
[✓] Connected device (4 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• Linux • Linux • linux-x64 • Linux
• Chrome • chrome • web-javascript • Google Chrome 78.0.3904.70
• Web Server • web-server • web-javascript • Flutter Tools
! Doctor found issues in 1 category. |
this issue still exits . Found this bug while exploring flutter_typeahead package |
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
Internal: b/153942448
Steps to Reproduce
If we have a
CompositedTransformFollower
that follows aCompositedTransformTarget
, and we scroll the target out of the screen, the layer link between them gets broken. This results in the follower showing at the top left of the screen.We can hide the follower by setting
showWhenUnlinked
to false, but it still responds to taps of the user.To reproduce this, I created this small app:
If you focus the
TextField
, the button shows, then if you scroll theTextField
out of the screen, you can see the button stays at the top left of the screen. If you tap the button, it prints to the console "I was pressed".Now, set the
showWhenUnlinked
to false and repeat the procedure. Even though the button won't be showing anymore, it will still respond to taps.Logs
The text was updated successfully, but these errors were encountered: