@vaadin/component-base
Advanced tools
Comparing version 23.3.0-alpha2 to 23.3.0-alpha3
{ | ||
"name": "@vaadin/component-base", | ||
"version": "23.3.0-alpha2", | ||
"version": "23.3.0-alpha3", | ||
"publishConfig": { | ||
@@ -45,3 +45,3 @@ "access": "public" | ||
}, | ||
"gitHead": "ae61027c62ffa7f7d70cfc50e43f333addfc74b6" | ||
"gitHead": "e86cd2abf3e28bade37711291331415d92c454ec" | ||
} |
@@ -42,3 +42,3 @@ /** | ||
static get version() { | ||
return '23.3.0-alpha2'; | ||
return '23.3.0-alpha3'; | ||
} | ||
@@ -45,0 +45,0 @@ |
@@ -70,3 +70,5 @@ /** | ||
/** | ||
* Set position on the slotted tooltip. | ||
* Set default position for the slotted tooltip. | ||
* This can be overridden by setting the position | ||
* using corresponding property or attribute. | ||
*/ | ||
@@ -73,0 +75,0 @@ setPosition(position: TooltipPosition): void; |
@@ -42,3 +42,3 @@ /** | ||
if (this.position !== undefined) { | ||
this.__updatePosition(tooltipNode, this.position); | ||
tooltipNode._position = this.position; | ||
} | ||
@@ -91,3 +91,5 @@ | ||
/** | ||
* Set position on the slotted tooltip. | ||
* Set default position for the slotted tooltip. | ||
* This can be overridden by setting the position | ||
* using corresponding property or attribute. | ||
* @param {string} position | ||
@@ -98,3 +100,6 @@ */ | ||
this.__updatePosition(this.node, position); | ||
const tooltipNode = this.node; | ||
if (tooltipNode) { | ||
tooltipNode._position = position; | ||
} | ||
} | ||
@@ -128,9 +133,2 @@ | ||
} | ||
/** @private */ | ||
__updatePosition(node, position) { | ||
if (node && !node.hasAttribute('position')) { | ||
node.position = position; | ||
} | ||
} | ||
} |
@@ -352,2 +352,8 @@ /** | ||
this.__previousScrollTop = this._scrollTop; | ||
// If the first visible index is not 0 when scrolled to the top, | ||
// add some scroll offset to enable the user to continue scrolling. | ||
if (this._scrollTop === 0 && this.firstVisibleIndex !== 0) { | ||
this._scrollTop = 1; | ||
} | ||
} | ||
@@ -354,0 +360,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
194048
5651