@@ -235,7 +235,7 @@
|
|||||||
async function scrollIntoView(): Promise<void> {
|
async function scrollIntoView(): Promise<void> {
|
||||||
await tick()
|
await tick()
|
||||||
if (selectedNote) {
|
if (selectedNote) {
|
||||||
const elem = document.querySelector(
|
const elem = activeWindow.document.querySelector(
|
||||||
`[data-result-id="${selectedNote.path}"]`
|
`[data-result-id="${selectedNote.path}"]`
|
||||||
)
|
)
|
||||||
elem?.scrollIntoView({ behavior: 'auto', block: 'nearest' })
|
elem?.scrollIntoView({ behavior: 'auto', block: 'nearest' })
|
||||||
|
|||||||
Reference in New Issue
Block a user