mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-12 19:30:52 +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
|
||||
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user