-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
In-between inserter: Fix console error when moving mouse in Firefox #47168
Conversation
Size Change: +24 B (0%) Total Size: 1.33 MB
ℹ️ View Unchanged
|
I've noticed that the inserter also appears in browse mode in firefox. I guess it's unrelated with this PR though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@youknowriad
I was able to reproduce this problem with trunk and have submitted #47190. I would like to merge this PR as I believe it isn't the cause of the problem. |
Fixes: #47165
What?
This PR fixes console errors output when moving the mouse in FireFox.
Why?
I was unable to find the root cause, but as this video shows, I discovered that the mouse move event also detects text nodes. The text node does not have a
classList
, resulting in a console error.How?
Checking if the node type is a text node.
Testing Instructions