Merge pull request #2790 from omnivore-app/fix/extension-prevent-scroll

Prevent scroll on focus of the extension toast element
This commit is contained in:
Jackson Harper
2023-09-22 17:32:53 +08:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "process.env.EXTENSION_NAME",
"short_name": "process.env.EXTENSION_NAME",
"version": "2.4.2",
"version": "2.4.4",
"description": "Save PDFs and Articles to your Omnivore library",
"author": "Omnivore Media, Inc",
"default_locale": "en",

View File

@ -220,7 +220,9 @@
}
})
currentToastEl.focus()
currentToastEl.focus({
preventScroll: true,
})
}
function updatePageStatus(status) {