We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69dcc17 commit f66e96dCopy full SHA for f66e96d
src/components/input/elastic-textarea.ts
@@ -33,7 +33,7 @@ export const createElasticTextArea = (textarea: HTMLTextAreaElement) => {
33
const newHeight = textarea.clientHeight;
34
35
// If the height hasn't changed, break the loop
36
- // This sanity check is to prevent an infinite loop in IE11
+ // This safety check is to prevent an infinite loop in IE11
37
if (newHeight === previousHeight) break;
38
39
// Store the updated height for the next comparison and proceed
0 commit comments