Skip to content

Commit

Permalink
[material-ui][Tabs] Fix ScrollbarSize ref being overriden (#44593)
Browse files Browse the repository at this point in the history
  • Loading branch information
DiegoAndai authored Nov 28, 2024
1 parent e720f3b commit cdb03a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/mui-material/src/Tabs/ScrollbarSize.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default function ScrollbarSize(props) {
onChange(scrollbarHeight.current);
}, [onChange]);

return <div style={styles} ref={nodeRef} {...other} />;
return <div style={styles} {...other} ref={nodeRef} />;
}

ScrollbarSize.propTypes = {
Expand Down

0 comments on commit cdb03a5

Please sign in to comment.