@brightspace-ui/core 1.224.0 → 1.224.1
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.
|
@@ -605,12 +605,14 @@ class InputText extends LabelledMixin(FormElementMixin(SkeletonMixin(RtlMixin(Li
|
|
|
605
605
|
|| (this.unit && this.dir !== 'rtl');
|
|
606
606
|
|
|
607
607
|
if (firstSlotHasNodes) {
|
|
608
|
-
|
|
608
|
+
// Firefox can have trouble rendering the cursor if the padding is a decimal
|
|
609
|
+
requestAnimationFrame(() => this._firstSlotWidth = Math.ceil(firstContainer.getBoundingClientRect().width));
|
|
609
610
|
} else {
|
|
610
611
|
this._firstSlotWidth = 0;
|
|
611
612
|
}
|
|
612
613
|
if (lastSlotHasNodes) {
|
|
613
|
-
|
|
614
|
+
// Firefox can have trouble rendering the cursor if the padding is a decimal
|
|
615
|
+
requestAnimationFrame(() => this._lastSlotWidth = Math.ceil(lastContainer.getBoundingClientRect().width));
|
|
614
616
|
} else {
|
|
615
617
|
this._lastSlotWidth = 0;
|
|
616
618
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brightspace-ui/core",
|
|
3
|
-
"version": "1.224.
|
|
3
|
+
"version": "1.224.1",
|
|
4
4
|
"description": "A collection of accessible, free, open-source web components for building Brightspace applications",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": "https://github.com/BrightspaceUI/core.git",
|