Skip to content

Commit 86aa23e

Browse files
committed
[material-ui][Tabs] Fix ScrollbarSize ref being overriden (mui#44593)
1 parent fbf9bc1 commit 86aa23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mui-material/src/Tabs/ScrollbarSize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default function ScrollbarSize(props) {
4949
onChange(scrollbarHeight.current);
5050
}, [onChange]);
5151

52-
return <div style={styles} ref={nodeRef} {...other} />;
52+
return <div style={styles} {...other} ref={nodeRef} />;
5353
}
5454

5555
ScrollbarSize.propTypes = {

0 commit comments

Comments
 (0)