fix: 视频评论回顶

This commit is contained in:
guozhigq
2024-09-30 12:00:30 +08:00
parent d35e7f007d
commit 42da40319a

View File

@ -578,7 +578,7 @@ class VideoDetailController extends GetxController
}
void onTapTabbar(int index) {
if (index == 1 && tabCtr.index == 1) {
if (tabCtr.animation!.isCompleted && index == 1 && tabCtr.index == 1) {
replyScrollController?.animateTo(0,
duration: const Duration(milliseconds: 300), curve: Curves.ease);
}