Open DanielEidlin opened 1 year ago
Hey, did you have a chance to look at it?
The same thing happened to me with InkWell
etc.
The issue occurs on both iOS and Android OS.
As additional information, when using a widget that can draw colors such as Container
in placeholder
, if Duration.zero
is set for fadeOutDuration
, the drawing range will not be pressable.
Sample code is provided below.
🐛 Bug Report
I'm using
CachedNetworkImage
with theimageBuilder
property, like showed in the example. Down the widget tree I had a button and I noticed it'sonPressed
method was never called and it appeared to be stuck. After some trial and error I've discovered that it is caused by usingCachedNetworkImage
with thefadeOutDuration
set toDuration.zero
. It is worth noting that even if I wait, the button never becomes active.Expected behavior
The button should still be clickable.
Reproduction steps
CachedNetworkImage
with animageBuilder
andfadeOutDuration
set toDuration.zero
.I'm adding a code sample:
Configuration
Flutter: 3.3.10 Happens on android emulator, did not test on a real device.
Version: 3.2.1
Platform: