@dust-tt/sparkle 0.2.233 → 0.2.235
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/components/PaginatedCitationsGrid.d.ts +1 -1
- package/dist/esm/components/PaginatedCitationsGrid.d.ts.map +1 -1
- package/dist/esm/components/TextArea.d.ts.map +1 -1
- package/dist/esm/components/TextArea.js +1 -0
- package/dist/esm/components/TextArea.js.map +1 -1
- package/package.json +1 -1
- package/src/components/PaginatedCitationsGrid.tsx +1 -1
- package/src/components/TextArea.tsx +1 -0
package/dist/cjs/index.js
CHANGED
|
@@ -129115,6 +129115,7 @@ function TextArea(_a) {
|
|
|
129115
129115
|
React.useEffect(function () {
|
|
129116
129116
|
var textarea = textareaRef.current;
|
|
129117
129117
|
if (textarea) {
|
|
129118
|
+
textarea.style.height = 'auto'; // Reset height
|
|
129118
129119
|
textarea.style.height = "".concat(textarea.scrollHeight, "px"); // Set to scroll height
|
|
129119
129120
|
}
|
|
129120
129121
|
}, [value]); // Re-run when value changes
|