mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 19:58:09 +00:00
Fix kanban scrollInto (#1663)
Signed-off-by: Denis Bykhov <80476319+BykhovDenis@users.noreply.github.com>
This commit is contained in:
parent
132b18b181
commit
d250853ffc
@ -188,7 +188,7 @@
|
|||||||
$: stateRefs.length = states.length
|
$: stateRefs.length = states.length
|
||||||
|
|
||||||
function scrollInto (statePos: number): void {
|
function scrollInto (statePos: number): void {
|
||||||
stateRefs[statePos].scrollIntoView({ behavior: 'auto', block: 'nearest' })
|
stateRefs[statePos]?.scrollIntoView({ behavior: 'auto', block: 'nearest' })
|
||||||
}
|
}
|
||||||
|
|
||||||
export function select (offset: 1 | -1 | 0, of?: Doc, dir?: 'vertical' | 'horizontal'): void {
|
export function select (offset: 1 | -1 | 0, of?: Doc, dir?: 'vertical' | 'horizontal'): void {
|
||||||
|
Loading…
Reference in New Issue
Block a user