@zzish/math-rich-input 0.1.11 → 0.1.13
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/index.js +9 -6
- package/dist/math-rich-input.css +1 -0
- package/package.json +1 -1
- package/src/MathRichInput.css +1 -0
package/dist/index.js
CHANGED
|
@@ -19765,7 +19765,6 @@ var AccentBar = /*#__PURE__*/function (_React$Component) {
|
|
|
19765
19765
|
|
|
19766
19766
|
var toolBarBounds = thisBar.parentNode.getBoundingClientRect();
|
|
19767
19767
|
var inputBounds = node.getBoundingClientRect();
|
|
19768
|
-
console.log(node, inputBounds);
|
|
19769
19768
|
var thisBounds = thisBar.getBoundingClientRect();
|
|
19770
19769
|
this.shouldUpdatePosition = false; // Vertically align below input field
|
|
19771
19770
|
|
|
@@ -22807,11 +22806,15 @@ var MathRichInput = /*#__PURE__*/function (_React$Component) {
|
|
|
22807
22806
|
}
|
|
22808
22807
|
});
|
|
22809
22808
|
|
|
22810
|
-
_defineProperty(_assertThisInitialized(_this2), "handleBlur", function (event) {
|
|
22811
|
-
|
|
22812
|
-
|
|
22813
|
-
|
|
22814
|
-
|
|
22809
|
+
_defineProperty(_assertThisInitialized(_this2), "handleBlur", function (event) {
|
|
22810
|
+
try {
|
|
22811
|
+
_this2.setState({
|
|
22812
|
+
hasFocus: false,
|
|
22813
|
+
showAccentBar: false
|
|
22814
|
+
});
|
|
22815
|
+
} catch (error) {
|
|
22816
|
+
console.error(error);
|
|
22817
|
+
}
|
|
22815
22818
|
});
|
|
22816
22819
|
|
|
22817
22820
|
_this2.state = {
|
package/dist/math-rich-input.css
CHANGED
package/package.json
CHANGED