Closed jbartak closed 1 year ago
This happens when the extension can't find a scroll bar in the messenger chain. That in turn can happen for a few reasons
To fix the former, test on a longer messenger chain. I recommend just messaging yourself to see if it works
To fix the latter, we'll need to update the code. As a test, try the following code in the chrome dev console:
MY_ROW_QUERY = '.x78zum5.xdt5ytf.x193iq5w.x1n2onr6.xuk3077:has(> span)'; // Also used for finding the scroller (we just go up to the first parent w/ scrollTop)
PARTNER_CHAT_QUERY = '.x6prxxf.x1fc57z9.x1yc453h.x126k92a.xzsf02u'; // Partner chat text innerText, used for searching
UNSENT_MESSAGE_QUERY = '[aria-label="You unsent a message"]'; // In case a user has none of their own messages on screen and only unsent messages, this serves to pick up the scroll parent.
const query = `${MY_ROW_QUERY}, ${PARTNER_CHAT_QUERY}, ${UNSENT_MESSAGE_QUERY}`;
let el = document.querySelectorAll(query);
console.log(el)
This code just checks to see if the queries for the messenge row works as intended.
If you get a chance to try either result, update the thread with what you find
Describe the bug
To Reproduce Steps to reproduce the behavior:
Expected behavior Plugin works.
Screenshots
Desktop (please complete the following information):
Logs N/A