You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I found out a bug that when I press [ENTER], my editor loses focus to _focusTemp. I figured out it's caused by isMobile being true (defined in utils.js). Root of the problem is navigator.maxTouchPoints which is unreliable in Chrome due to some fluctuations. In my case it was equal to 10, even though I have no touch input and I'm on desktop. Based on this I think it should not be used as is in isMobile property check. I propose a slight change:
Describe the bug
I found out a bug that when I press [ENTER], my editor loses focus to _focusTemp. I figured out it's caused by isMobile being true (defined in utils.js). Root of the problem is navigator.maxTouchPoints which is unreliable in Chrome due to some fluctuations. In my case it was equal to 10, even though I have no touch input and I'm on desktop. Based on this I think it should not be used as is in isMobile property check. I propose a slight change:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
isMobile is false on desktop chrome.
Desktop
Release
The text was updated successfully, but these errors were encountered: