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 committed Nov 28, 2024
1 parent fbf9bc1 commit 86aa23e
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 86aa23e

Please sign in to comment.