Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
stouch committed Aug 13, 2023
1 parent 7770430 commit 68691c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ const TextareaAutosize = React.forwardRef(function TextareaAutosize(

useEnhancedEffect(() => {
syncHeight();
});
}, [value]); // To avoid an infinite loop (https://github.com/mui/material-ui/issues/33081)

React.useEffect(() => {
renders.current = 0;
Expand Down

0 comments on commit 68691c8

Please sign in to comment.