Open PcolBP opened 1 year ago
Found out that inserting Shimmer.fromColors in AnimatedSwitcher and switching fast between shimmer and correct child creates that container - looks like shimmer can't handle fast switching?
EDIT: Also the bigger screen resolution the container is bigger. It doesn't appear on low res screens.
EDIT2: Problem occurs also when we will refresh page and increase window size. Than container appears - after refreshing again on increased window problem dissapears until we will increase size again -.-"
EDIT3: Forgot to say that its HTML engine.
Repro:
And wrap TwSkeletonWrapper inside:
When switching between childs than that weird container appears.
I've recorded sample of how to reproduce it. After entering page is enough to just increase size window to be able to see it. https://user-images.githubusercontent.com/67896443/196207869-2beb0a30-6ff0-4c40-aa10-d0a3c494465f.mov
+1
Hi. Thanks for plugin.
Shimmer.fromColors creates white space on the right side. It never happened before. Now it does after migrating flutter to 3.3.0 and later.
Bug occurs on Flutter 3.3.0 & 3.3.2
Chrome setup
`Chrome (web) • chrome • web-javascript • Google Chrome 105.0.5195.125`Removing
Shimmer.fromColors
resolve problem.Image of skeletons with Shimmer.fromColors:![image](https://user-images.githubusercontent.com/67896443/191975520-1e579514-4cb9-4aa2-92dd-42163d720029.png)
Image of skeletons without Shimmer.fromColors:![image](https://user-images.githubusercontent.com/67896443/191975070-55471e9a-1566-4702-aff2-5ed2814d51cb.png)
Flutter doctor
```console Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.3.0, on macOS 12.6 21G115 darwin-arm (Rosetta), locale pl-PL) [✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0-rc2) [✓] Xcode - develop for iOS and macOS (Xcode 14.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2021.3) [✓] VS Code (version 1.66.2) [✓] VS Code (version 1.66.2) [✓] Connected device (4 available) [✓] HTTP Host Availability • No issues found! ```