@textbus/platform-browser 5.4.4 → 5.4.6
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.esm.js
CHANGED
|
@@ -1763,14 +1763,6 @@ var ExperimentalCaret = /*#__PURE__*/ function() {
|
|
|
1763
1763
|
if (anchor) {
|
|
1764
1764
|
this.bindScrollListeners(anchor);
|
|
1765
1765
|
}
|
|
1766
|
-
if (restart) {
|
|
1767
|
-
requestAnimationFrame(function() {
|
|
1768
|
-
var _this_oldRange;
|
|
1769
|
-
if ((_this_oldRange = _this.oldRange) === null || _this_oldRange === void 0 ? void 0 : _this_oldRange.collapsed) {
|
|
1770
|
-
_this.updateCursorPosition(_this.oldRange);
|
|
1771
|
-
}
|
|
1772
|
-
});
|
|
1773
|
-
}
|
|
1774
1766
|
if (restart || this.scheduler.lastChangesHasLocalUpdate) {
|
|
1775
1767
|
this.display = true;
|
|
1776
1768
|
var toggleShowHide = function toggleShowHide1() {
|
|
@@ -1797,7 +1789,7 @@ var ExperimentalCaret = /*#__PURE__*/ function() {
|
|
|
1797
1789
|
this.caretClippedOut = false;
|
|
1798
1790
|
this.elementRef.style.clipPath = 'none';
|
|
1799
1791
|
this.elementRef.style.visibility = '';
|
|
1800
|
-
this.caret.style.visibility = '';
|
|
1792
|
+
this.caret.style.visibility = 'hidden';
|
|
1801
1793
|
this.positionChangeEvent.next(null);
|
|
1802
1794
|
}
|
|
1803
1795
|
},
|