Fix Edge Webview 2 being detected as old Edge.

This commit is contained in:
Bradley Eaton
2025-08-13 09:30:30 +01:00
parent 45495caa55
commit cc81d133c8
2 changed files with 1 additions and 4 deletions
+1
View File
@@ -178,6 +178,7 @@ const Scroller: FC<PropsWithChildren<ScrollerProps>> = ({
allowNativeScroll: !enableScrollButtons,
forceHideScrollbars: enableScrollButtons,
// In edge, with the native scroll, the content jumps around when hovering over the buttons
// @ts-expect-error browser doesn't explicitly declare browser.edge, so fails type checking
requireAnimation: enableScrollButtons && browser.edge
};