mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
UBER-614: fix submenu popups on scrolling (#3530)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
@@ -478,7 +478,12 @@
|
||||
class="scroll relative flex-shrink"
|
||||
style:overflow-x={horizontal ? 'auto' : 'hidden'}
|
||||
on:scroll={() => {
|
||||
if ($tooltipstore.label !== undefined || $tooltipstore.component !== undefined) closeTooltip()
|
||||
if (
|
||||
$tooltipstore.label !== undefined ||
|
||||
($tooltipstore.component !== undefined && $tooltipstore.kind !== 'submenu')
|
||||
) {
|
||||
closeTooltip()
|
||||
}
|
||||
}}
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user