-
Notifications
You must be signed in to change notification settings - Fork 3.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
IE11: Doesn't allow cursor to focus or edit text on editor input #2364
Comments
@lranches-sfdo do you have polyfill for IE, I think it might be due to IE 11 doesn't have |
@isubasti Thank you for your response. We actually have the closest polyfill for IE and still no luck :(. Any other ideas? |
Any updates? :) |
The same issue applies to your provided examples, for instance with your link demo: https://www.slatejs.org/#/links |
@afrankel-sfdo Tracked here: #2385. |
@eramdam thanks, that was just a sidebar while attempting to reproduce the editor issue in IE11 above. |
Kinda find out what the issue is but don't know how to fix it. It's due to Edge and IE behaviour on |
Fixed this by running |
In IE11, refocusing by click would cause the editor to immediately lose focus. Fixes ianstormtaylor#2364
I've create a PR that removes |
In IE11, refocusing by click would cause the editor to immediately lose focus. Fixes ianstormtaylor#2364
In IE11, refocusing by click would cause the editor to immediately lose focus. Fixes ianstormtaylor#2364
* Fix mouse focus in IE 11 In IE11, refocusing by click would cause the editor to immediately lose focus. Fixes #2364 * Skip delect onFocus for EDGE
* Fix mouse focus in IE 11 In IE11, refocusing by click would cause the editor to immediately lose focus. Fixes ianstormtaylor#2364 * Skip delect onFocus for EDGE
Do you want to request a feature or report a bug?
Bug 🐛
What's the current behavior?'
Using Internet Explorer 11, if the editor input already contains text. It won't allow on click to focus on the Editor Input and edit. Also upgraded to the latest Slate versions and still has the same issue but posted the versions being used below. It also is working perfectly fine in Chrome.
Any help would be much appreciated!
What's the expected behavior?
Working on Chrome!
The text was updated successfully, but these errors were encountered: