Set floating shift value to fit area occupied by box-shadow (#2116)

* Set floating shift value to fit area occupied by box-shadow

* Disable shift on Select dropdown
This commit is contained in:
Matthias Metelka 2022-10-10 05:53:13 +02:00 committed by GitHub
parent df03c172db
commit 3c230d2396
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -28,6 +28,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
show={showFloating}
placement="bottom"
offset={0}
shift={0}
hideArrow
inline
closeOnInsideClick

View File

@ -29,7 +29,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
export let placement: Placement | Placement[] | "auto" = "bottom";
export let offset = 5;
export let shift = 5;
/* 30px box shadow from elevation(8) */
export let shift = 30;
export let inline = false;
export let hideIfEscaped = false;
export let hideIfReferenceHidden = false;