{ divHeight = element.clientHeight }} class="scroll relative flex-shrink" style:overflow-x={horizontal ? 'auto' : 'hidden'} on:scroll={() => { if ( $tooltipstore.label !== undefined || ($tooltipstore.component !== undefined && $tooltipstore.kind !== 'submenu') ) { closeTooltip() } }} >
{ checkAutoScroll() checkFade() }} on:dragover on:drop on:scroll > {#if bottomStart}
{/if}
{#if buttons === 'normal'} {:else if buttons === 'union'}
{/if}
onScrollStart(ev, 'vertical')} on:mouseleave={checkFade} />
{#if horizontal}
onScrollStart(ev, 'horizontal')} on:mouseleave={checkFade} />
{/if}