fix: 视频评论回顶
This commit is contained in:
@ -578,7 +578,7 @@ class VideoDetailController extends GetxController
|
|||||||
}
|
}
|
||||||
|
|
||||||
void onTapTabbar(int index) {
|
void onTapTabbar(int index) {
|
||||||
if (index == 1 && tabCtr.index == 1) {
|
if (tabCtr.animation!.isCompleted && index == 1 && tabCtr.index == 1) {
|
||||||
replyScrollController?.animateTo(0,
|
replyScrollController?.animateTo(0,
|
||||||
duration: const Duration(milliseconds: 300), curve: Curves.ease);
|
duration: const Duration(milliseconds: 300), curve: Curves.ease);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user