Fix popups (#2384)

Signed-off-by: Alexander Platov <sas_lord@mail.ru>
This commit is contained in:
Alexander Platov
2022-11-17 11:29:58 +07:00
committed by GitHub
parent 126b7eb772
commit 7e03e8f59d
38 changed files with 139 additions and 106 deletions
@@ -17,6 +17,7 @@
import type { DropdownIntlItem } from '../types'
import CheckBox from './CheckBox.svelte'
import Label from './Label.svelte'
import { resizeObserver } from '..'
export let items: DropdownIntlItem[]
export let selected: DropdownIntlItem['id'] | undefined = undefined
@@ -35,7 +36,7 @@
}
</script>
<div class="selectPopup">
<div class="selectPopup" use:resizeObserver={() => dispatch('changeContent')}>
<div class="scroll">
<div class="box">
{#each items as item, i}