lightning-base-components 1.26.1-rc.0-alpha → 1.26.2-rc.0-alpha
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/package.json
CHANGED
|
@@ -109,7 +109,10 @@ export function handleInlineEditPanelScroll(event) {
|
|
|
109
109
|
const scrollY = scroller.scrollTop;
|
|
110
110
|
if (this._lastScrollY == null) {
|
|
111
111
|
this._lastScrollY = scrollY;
|
|
112
|
-
} else {
|
|
112
|
+
} else if (scroller.scrollHeight > scroller.offsetHeight) {
|
|
113
|
+
// Only set delta if element scrollable and OS set to always
|
|
114
|
+
// Show scrollbars so we avoid issues when scrollbar quickly
|
|
115
|
+
// added/removed when opening edit panel (see W-18032530)
|
|
113
116
|
delta = Math.abs(this._lastScrollY - scrollY);
|
|
114
117
|
}
|
|
115
118
|
} else {
|
|
@@ -117,7 +120,10 @@ export function handleInlineEditPanelScroll(event) {
|
|
|
117
120
|
const scrollX = scroller.scrollLeft;
|
|
118
121
|
if (this._lastScrollX == null) {
|
|
119
122
|
this._lastScrollX = scrollX;
|
|
120
|
-
} else {
|
|
123
|
+
} else if (scroller.scrollWidth > scroller.offsetWidth) {
|
|
124
|
+
// Only set delta if element scrollable and OS set to always
|
|
125
|
+
// Show scrollbars so we avoid issues when scrollbar quickly
|
|
126
|
+
// added/removed when opening edit panel (see W-18032530)
|
|
121
127
|
delta = Math.abs(this._lastScrollX - scrollX);
|
|
122
128
|
}
|
|
123
129
|
}
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
autocomplete={autocomplete}
|
|
15
15
|
computed-label-class={computedLabelClass}
|
|
16
16
|
disabled={disabled}
|
|
17
|
-
exportparts="input-text, input-container, input, required"
|
|
17
|
+
exportparts="input-text, input-container, input, required, label"
|
|
18
18
|
field-level-help={fieldLevelHelp}
|
|
19
19
|
formatter={formatter}
|
|
20
20
|
format-fraction-digits={formatFractionDigits}
|