mirror of
https://github.com/hcengineering/platform.git
synced 2024-11-23 14:06:00 +03:00
UBER-614: fix submenu popups on scrolling (#3530)
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
This commit is contained in:
parent
f4183e7d33
commit
fe5620dfd0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user