Fix Edge Webview 2 being detected as old Edge.
This commit is contained in:
@@ -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
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user