Skip to content

Commit

Permalink
Fix InputTextArea exhaustive deps (primefaces#7520)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Dec 21, 2024
1 parent 842820e commit 2afdcab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/lib/inputtextarea/InputTextarea.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const InputTextarea = React.memo(
if (props.autoResize) {
resize(true);
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [props.autoResize]);

const isFilled = React.useMemo(() => ObjectUtils.isNotEmpty(props.value) || ObjectUtils.isNotEmpty(props.defaultValue), [props.value, props.defaultValue]);
Expand Down

0 comments on commit 2afdcab

Please sign in to comment.