1
0
mirror of https://github.com/tabler/tabler.git synced 2025-12-23 10:24:24 +04:00

Release 1.0.0-beta10

This commit is contained in:
codecalm
2022-04-29 23:19:24 +02:00
parent f7e9eb0a91
commit c57a195881
179 changed files with 18404 additions and 10291 deletions

View File

@@ -1,6 +1,6 @@
/*!
* Tabler v1.0.0-beta9 (https://tabler.io)
* @version 1.0.0-beta9
* Tabler v1.0.0-beta10 (https://tabler.io)
* @version 1.0.0-beta10
* @link https://tabler.io
* Copyright 2018-2022 The Tabler Authors
* Copyright 2018-2022 codecalm.net Paweł Kuna
@@ -3359,6 +3359,9 @@ function getContainingBlock(element) {
}
}
var currentNode = getParentNode(element);
if (isShadowRoot(currentNode)) {
currentNode = currentNode.host;
}
while (isHTMLElement(currentNode) && ['html', 'body'].indexOf(getNodeName(currentNode)) < 0) {
var css = getComputedStyle$1(currentNode);
if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || ['transform', 'perspective'].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') {
@@ -3542,14 +3545,14 @@ function mapToStyles(_ref2) {
offsetParent = offsetParent;
if (placement === top || (placement === left || placement === right) && variation === end) {
sideY = bottom;
var offsetY = isFixed && win.visualViewport ? win.visualViewport.height :
var offsetY = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.height :
offsetParent[heightProp];
y -= offsetY - popperRect.height;
y *= gpuAcceleration ? 1 : -1;
}
if (placement === left || (placement === top || placement === bottom) && variation === end) {
sideX = right;
var offsetX = isFixed && win.visualViewport ? win.visualViewport.width :
var offsetX = isFixed && offsetParent === win && win.visualViewport ? win.visualViewport.width :
offsetParent[widthProp];
x -= offsetX - popperRect.width;
x *= gpuAcceleration ? 1 : -1;