Skip to content

Commit ad4acf8

Browse files
BirjuVachhaniSaadArdati
authored andcommitted
🐛 fix scroll transitions
1 parent a3711fd commit ad4acf8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/src/effect_widget.dart

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ class _EffectWidgetState extends State<EffectWidget> {
6868
void didUpdateWidget(covariant EffectWidget oldWidget) {
6969
super.didUpdateWidget(oldWidget);
7070

71-
start= widget.start ?? widget.end;
71+
// TODO: This was introduced in 7th commit of update pack v2 for some reason
72+
// but it breaks the scroll transitions. So we've disabled it for now. So if
73+
// something breaks in the future, this is the first place to look!
74+
// start= widget.start ?? widget.end;
75+
7276
if (oldWidget.end != widget.end &&
7377
oldWidget.end.runtimeType == widget.end.runtimeType &&
7478
start.runtimeType == end.runtimeType) {

0 commit comments

Comments
 (0)