Lint
This commit is contained in:
parent
799a5285e3
commit
a66389f8a2
|
@ -48,11 +48,11 @@ export default function positionDropdown(element, { anchor, align }) {
|
|||
element.style.left = `${calcLeftPosition(dimensions).toFixed(0)}px`
|
||||
|
||||
const resizeObserver = new ResizeObserver(entries => {
|
||||
for (let entry of entries) {
|
||||
entries.forEach(() => {
|
||||
dimensions = getDimensions()
|
||||
element.style[positionSide] = `${dimensions[positionSide]}px`
|
||||
element.style.left = `${calcLeftPosition(dimensions).toFixed(0)}px`
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
resizeObserver.observe(anchor)
|
||||
|
|
|
@ -11,8 +11,6 @@ const createNotificationStore = () => {
|
|||
})
|
||||
}
|
||||
|
||||
let timers = []
|
||||
|
||||
const notifications = derived(_notifications, ($_notifications, set) => {
|
||||
set($_notifications)
|
||||
if ($_notifications.length > 0) {
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<!-- routify:options index=1 -->
|
||||
<slot />
|
||||
<slot />
|
||||
|
|
|
@ -27,7 +27,7 @@ export default ({ mode }) => {
|
|||
}),
|
||||
],
|
||||
optimizeDeps: {
|
||||
include: ['ag-grid-community'],
|
||||
include: ["ag-grid-community"],
|
||||
exclude: ["@roxi/routify"],
|
||||
},
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in New Issue