diff --git a/webapp/packages/core-ui/src/Tabs/Tab/Tab.tsx b/webapp/packages/core-ui/src/Tabs/Tab/Tab.tsx index d58c7eed52..39e068f5a8 100644 --- a/webapp/packages/core-ui/src/Tabs/Tab/Tab.tsx +++ b/webapp/packages/core-ui/src/Tabs/Tab/Tab.tsx @@ -27,7 +27,7 @@ export const Tab = observer(function Tab(props) { const styles = useS(style); const canClose = getComputed(() => !!onClose || (tab.closable && tab.state.closable)); - function onAuxClickHandler(event: React.MouseEvent) { + function onMouseUpHandler(event: React.MouseEvent) { if (event.button === 1 && props.closeOnMouseWheelClick && canClose) { tab.handleClose(event); } @@ -35,7 +35,7 @@ export const Tab = observer(function Tab(props) { return ( -
+