-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read property 'innerText' of null at Y (App.svelte:359) #53
Comments
Are you still encountering this issue? We have been unable to replicate this till date, even in Canary
It should indeed suppress the error, and may even still work as expected, however I can't entirely be sure until encountering it on my end too |
I still encountered this issue in my canary, and I find the difference between Canary, PTB and Discord. EnvCanary 124017 (2c2001f) The message sending box (textarea) are using different element to implement So, canary only uses placeholder attr of textarea to show the message in message sending box (PTB and discord use div and span to show) ExperimentI tried to insert a fake span in textarea using var fakeSpan = document.createElement("span")
fakeSpan.style.display="none"
document.querySelector('[class^=textArea-]').appendChild(fakeSpan) can solve this problem temporarily ConclusionI am not pretty sure whether only I meet this in Canary as @BobbyWibowo said "unable to replicate this till now, in Canary" Sorry, I miss the message that you also encountered this Maybe there is any better discord api can tell which discord client are using, and try to fix this issue by the stuff just like |
In which OS did you get this Canary build? On my Windows boot, my Canary build is at Canary 124157 (ad7bbc4), and it's using
Ah, I might have worded it wrong |
Thanks a lot. Then I just trun this switch on for a temporary solution. |
at App.svelte:359
the return value of querySelector is null
my discordCanary dom of textArea does not contain any span
like
so I am not sure if just change this line into
can solve this problem or not
(I don't know how to debug this plugin sorry)
Thanks a lot
The text was updated successfully, but these errors were encountered: