CSUI overlay list does not match elements earlier in the DOM than scroll position on load

I have the following:
export const config: PlasmoCSConfig = {
matches: ['<all_urls>'],
};

export const getOverlayAnchorList: PlasmoGetOverlayAnchorList = () =>
document.querySelectorAll('pre');

export default function Content() {
return <>Hello, world!</>;
}
export const config: PlasmoCSConfig = {
matches: ['<all_urls>'],
};

export const getOverlayAnchorList: PlasmoGetOverlayAnchorList = () =>
document.querySelectorAll('pre');

export default function Content() {
return <>Hello, world!</>;
}
As you can see it's suppose to match every pre element on the page, however it fails to match elements earlier in the DOM than the scroll position on load. The screenshot was taken when the page loaded and I scrolled up until the earlier pre was visible.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server