From 7143bb380fc898eb5fe7eb5621d9051df56f2862 Mon Sep 17 00:00:00 2001 From: edde746 <86283021+edde746@users.noreply.github.com> Date: Thu, 2 Jul 2026 00:27:52 +0200 Subject: [PATCH] fix(tv): skip desktop hover-arrows machinery on TV --- lib/widgets/horizontal_scroll_with_arrows.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/widgets/horizontal_scroll_with_arrows.dart b/lib/widgets/horizontal_scroll_with_arrows.dart index 57286aac..31705386 100644 --- a/lib/widgets/horizontal_scroll_with_arrows.dart +++ b/lib/widgets/horizontal_scroll_with_arrows.dart @@ -129,7 +129,9 @@ class _HorizontalScrollWithArrowsState extends State Widget build(BuildContext context) { final child = widget.builder(_scrollController); - if (!PlatformDetector.isDesktop(context)) { + // Hover arrows need a mouse; isDesktop(context) is also true on TV where + // the MouseRegion + scroll-notification machinery is dead weight per row. + if (!PlatformDetector.isDesktopOS()) { return child; }