-
Notifications
You must be signed in to change notification settings - Fork 233
Closed
Labels
Description
Describe the bug
When I type certain strings on the Discord web search, the website crashes halfway through inputting the string. E.g. it crashes at 'e' in "qwerty" and 'v' in "never", but it allows me to type "cat" and "dog".
To Reproduce
Steps to reproduce the behavior:
- Open the Discord website on Firefox
- Try to type certain strings in the server search box.
- Discord crashes, and the terminal message given in "Additional context" is displayed.
Expected behavior
Be able to type full words in the search box.
Platform
Firefox on Ubuntu 24.04
Additional context
The error given in the terminal is
Error: invariant(...): Second argument must be a string.
t https://discord.com/assets/web.a1bebe27deb4a672.js:1
exports https://discord.com/assets/web.a1bebe27deb4a672.js:1
_setSelection https://discord.com/assets/web.a1bebe27deb4a672.js:1
componentDidUpdate https://discord.com/assets/web.a1bebe27deb4a672.js:1
sa https://discord.com/assets/web.a1bebe27deb4a672.js:12
sb https://discord.com/assets/web.a1bebe27deb4a672.js:12
sa https://discord.com/assets/web.a1bebe27deb4a672.js:12
sb https://discord.com/assets/web.a1bebe27deb4a672.js:12
... (the above 2 lines are alternated many times repeatedly)
[sentry.62598dc9e7819ab1.js:14:2202](https://discord.com/assets/sentry.62598dc9e7819ab1.js)