diff --git a/CHANGELOG-nightly.md b/CHANGELOG-nightly.md index e8a268d8..28c0b443 100644 --- a/CHANGELOG-nightly.md +++ b/CHANGELOG-nightly.md @@ -1,3 +1,7 @@ +### 3.1.11.4000 + +- Added ability to inject into embeded versions of twitch chat + ### 3.1.11.3000 - Fixed an issue which led to some messages (like announcements) not displaying correctly diff --git a/manifest.config.ts b/manifest.config.ts index 3bf1d6bb..f9b83de8 100644 --- a/manifest.config.ts +++ b/manifest.config.ts @@ -60,6 +60,7 @@ export async function getManifest(opt: ManifestOptions): Promise { const msgIndex = thread.value.findIndex((m) => m.id === props.id); const msgElem = msgElems.value.at(msgIndex); if (msgElem) { - nextTick(() => msgElem.scrollIntoView()); + nextTick(() => msgElem.scrollIntoView({ block: "nearest", inline: "nearest" })); } });