Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-03-13 22:08:06 +08:00
parent d6f238c720
commit 28ef1890d1

View File

@@ -434,19 +434,21 @@ class _VideoReplyReplyPanelState
Widget _buildBody(LoadingState loadingState, int index) { Widget _buildBody(LoadingState loadingState, int index) {
return switch (loadingState) { return switch (loadingState) {
Loading() => CustomScrollView( Loading() => IgnorePointer(
shrinkWrap: true, child: CustomScrollView(
physics: const NeverScrollableScrollPhysics(), shrinkWrap: true,
slivers: [ physics: const NeverScrollableScrollPhysics(),
SliverList( slivers: [
delegate: SliverChildBuilderDelegate( SliverList(
(BuildContext context, int index) { delegate: SliverChildBuilderDelegate(
return const VideoReplySkeleton(); (BuildContext context, int index) {
}, return const VideoReplySkeleton();
childCount: 8, },
), childCount: 8,
) ),
], )
],
),
), ),
Success() => () { Success() => () {
if (index == loadingState.response.length) { if (index == loadingState.response.length) {