TSK-1394,-1407,-1412,-1417,-1422,-1423: minor fixes. Fixed Scroller. (#3124)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2023-05-03 12:47:38 +07:00
committed by GitHub
parent 96e77f44b6
commit d435dbfa2e
18 changed files with 146 additions and 123 deletions
@@ -15,7 +15,7 @@
<script lang="ts">
import type { Class, Doc, DocumentQuery, FindOptions, Ref } from '@hcengineering/core'
import { getEmbeddedLabel } from '@hcengineering/platform'
import { Scroller, tableSP } from '@hcengineering/ui'
import { Scroller, tableSP, FadeOptions } from '@hcengineering/ui'
import { BuildModelKey } from '@hcengineering/view'
import { onMount } from 'svelte'
import { ActionContext } from '..'
@@ -33,6 +33,7 @@
export let showFilterBar = true
export let enableChecking = true
export let tableId: string | undefined = undefined
export let fade: FadeOptions = tableSP
// If defined, will show a number of dummy items before real data will appear.
export let loadingProps: LoadingProps | undefined = undefined
@@ -83,7 +84,7 @@
mode: 'browser'
}}
/>
<Scroller fade={tableSP} horizontal={true}>
<Scroller {fade} horizontal={true}>
<Table
bind:this={table}
{_class}