Skip to content

Commit f66e96d

Browse files
authored
1 parent 69dcc17 commit f66e96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/input/elastic-textarea.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export const createElasticTextArea = (textarea: HTMLTextAreaElement) => {
3333
const newHeight = textarea.clientHeight;
3434

3535
// If the height hasn't changed, break the loop
36-
// This sanity check is to prevent an infinite loop in IE11
36+
// This safety check is to prevent an infinite loop in IE11
3737
if (newHeight === previousHeight) break;
3838

3939
// Store the updated height for the next comparison and proceed

0 commit comments

Comments
 (0)