Skip to content

Commit

Permalink
[material-ui][Tabs] Cherry pick ScrollbarSize ref being overriden f…
Browse files Browse the repository at this point in the history
…ix (#44595)
  • Loading branch information
DiegoAndai authored Nov 28, 2024
1 parent fbf9bc1 commit dab6d48
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 dab6d48

Please sign in to comment.