Animate popovers for header cells and adding columns
This commit is contained in:
parent
0d65d34456
commit
76eba52999
|
@ -173,7 +173,6 @@
|
|||
align="right"
|
||||
offset={0}
|
||||
popoverTarget={document.getElementById(`grid-${rand}`)}
|
||||
animate={false}
|
||||
customZindex={100}
|
||||
>
|
||||
{#if editIsOpen}
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
let anchor
|
||||
let open = false
|
||||
|
||||
$: columnsWidth = $renderedColumns.reduce(
|
||||
(total, col) => (total += col.width),
|
||||
0
|
||||
|
@ -17,6 +18,7 @@
|
|||
const close = () => {
|
||||
open = false
|
||||
}
|
||||
|
||||
onMount(() => subscribe("close-edit-column", close))
|
||||
</script>
|
||||
|
||||
|
@ -35,7 +37,6 @@
|
|||
align="right"
|
||||
offset={0}
|
||||
popoverTarget={document.getElementById(`add-column-button`)}
|
||||
animate={false}
|
||||
customZindex={100}
|
||||
>
|
||||
<div
|
||||
|
|
Loading…
Reference in New Issue