File popup menu z-index fix (#3502)

This commit is contained in:
Pavel Laptev 2024-04-13 00:29:23 +02:00 committed by GitHub
parent b818ce485b
commit 8dada8149f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,7 +52,7 @@
tabindex="0"
use:recordDimensions
use:clickOutside={{ handler: () => onDismiss() }}
style="position: absolute; top:{pos.y}px; left:{pos.x}px"
style="z-index: var(--z-floating); position: absolute; top:{pos.y}px; left:{pos.x}px"
>
<slot {item} dismiss={onDismiss} />
</div>