signal-desktop/patches/react-textarea-autosize+8.5.5.patch

53 lines
2.7 KiB
Diff
Raw Normal View History

2025-02-19 10:16:41 -08:00
diff --git a/dist/react-textarea-autosize.browser.cjs.js b/dist/react-textarea-autosize.browser.cjs.js
2024-11-18 11:20:23 -08:00
index 37d2acb..7f76a65 100644
2025-02-19 10:16:41 -08:00
--- a/dist/react-textarea-autosize.browser.cjs.js
+++ b/dist/react-textarea-autosize.browser.cjs.js
2024-11-18 11:20:23 -08:00
@@ -122,7 +122,7 @@ var SIZING_STYLE = ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth',
'tabSize', 'textIndent',
// non-standard
'textRendering', 'textTransform', 'width', 'wordBreak', 'wordSpacing', 'scrollbarGutter'];
-var isIE = !!document.documentElement.currentStyle ;
+var isIE = false;
var getSizingData = function getSizingData(node) {
var style = window.getComputedStyle(node);
if (style === null) {
2025-02-19 10:16:41 -08:00
diff --git a/dist/react-textarea-autosize.browser.development.cjs.js b/dist/react-textarea-autosize.browser.development.cjs.js
2024-11-18 11:20:23 -08:00
index 51e50d5..29a11e3 100644
2025-02-19 10:16:41 -08:00
--- a/dist/react-textarea-autosize.browser.development.cjs.js
+++ b/dist/react-textarea-autosize.browser.development.cjs.js
2024-11-18 11:20:23 -08:00
@@ -122,7 +122,7 @@ var SIZING_STYLE = ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth',
'tabSize', 'textIndent',
// non-standard
'textRendering', 'textTransform', 'width', 'wordBreak', 'wordSpacing', 'scrollbarGutter'];
-var isIE = !!document.documentElement.currentStyle ;
+var isIE = false;
var getSizingData = function getSizingData(node) {
var style = window.getComputedStyle(node);
if (style === null) {
2025-02-19 10:16:41 -08:00
diff --git a/dist/react-textarea-autosize.browser.development.esm.js b/dist/react-textarea-autosize.browser.development.esm.js
2024-11-18 11:20:23 -08:00
index bbaa14c..4eac3f8 100644
2025-02-19 10:16:41 -08:00
--- a/dist/react-textarea-autosize.browser.development.esm.js
+++ b/dist/react-textarea-autosize.browser.development.esm.js
2024-11-18 11:20:23 -08:00
@@ -94,7 +94,7 @@ var SIZING_STYLE = ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth',
'tabSize', 'textIndent',
// non-standard
'textRendering', 'textTransform', 'width', 'wordBreak', 'wordSpacing', 'scrollbarGutter'];
-var isIE = !!document.documentElement.currentStyle ;
+var isIE = false;
var getSizingData = function getSizingData(node) {
var style = window.getComputedStyle(node);
if (style === null) {
2025-02-19 10:16:41 -08:00
diff --git a/dist/react-textarea-autosize.browser.esm.js b/dist/react-textarea-autosize.browser.esm.js
2024-11-18 11:20:23 -08:00
index 7376e08..196b550 100644
2025-02-19 10:16:41 -08:00
--- a/dist/react-textarea-autosize.browser.esm.js
+++ b/dist/react-textarea-autosize.browser.esm.js
2024-11-18 11:20:23 -08:00
@@ -94,7 +94,7 @@ var SIZING_STYLE = ['borderBottomWidth', 'borderLeftWidth', 'borderRightWidth',
'tabSize', 'textIndent',
// non-standard
'textRendering', 'textTransform', 'width', 'wordBreak', 'wordSpacing', 'scrollbarGutter'];
-var isIE = !!document.documentElement.currentStyle ;
+var isIE = false;
var getSizingData = function getSizingData(node) {
var style = window.getComputedStyle(node);
if (style === null) {