@textbus/platform-browser 5.4.4 → 5.4.5
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.esm.js +1 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1767,14 +1767,6 @@ var ExperimentalCaret = /*#__PURE__*/ function() {
|
|
|
1767
1767
|
if (anchor) {
|
|
1768
1768
|
this.bindScrollListeners(anchor);
|
|
1769
1769
|
}
|
|
1770
|
-
if (restart) {
|
|
1771
|
-
requestAnimationFrame(function() {
|
|
1772
|
-
var _this_oldRange;
|
|
1773
|
-
if ((_this_oldRange = _this.oldRange) === null || _this_oldRange === void 0 ? void 0 : _this_oldRange.collapsed) {
|
|
1774
|
-
_this.updateCursorPosition(_this.oldRange);
|
|
1775
|
-
}
|
|
1776
|
-
});
|
|
1777
|
-
}
|
|
1778
1770
|
if (restart || this.scheduler.lastChangesHasLocalUpdate) {
|
|
1779
1771
|
this.display = true;
|
|
1780
1772
|
var toggleShowHide = function toggleShowHide1() {
|
|
@@ -1801,7 +1793,7 @@ var ExperimentalCaret = /*#__PURE__*/ function() {
|
|
|
1801
1793
|
this.caretClippedOut = false;
|
|
1802
1794
|
this.elementRef.style.clipPath = 'none';
|
|
1803
1795
|
this.elementRef.style.visibility = '';
|
|
1804
|
-
this.caret.style.visibility = '';
|
|
1796
|
+
this.caret.style.visibility = 'hidden';
|
|
1805
1797
|
this.positionChangeEvent.next(null);
|
|
1806
1798
|
}
|
|
1807
1799
|
},
|