ianstormtaylor / slate

A completely customizable framework for building rich text editors. (Currently in beta.)
http://slatejs.org
MIT License
29.71k stars 3.24k forks source link

Checkbox Example Inconsistent Across Browsers #891

Closed Nantris closed 6 years ago

Nantris commented 7 years ago

http://slatejs.org/#/check-lists

Firefox works properly, but IE and Chrome do not.

On pressing enter to create a new checkbox line item (with cursor at the end of a line):

Chrome: Creates the checkbox. Cursor disappears and focus is not on the new checkbox

Internet Explorer: Creates the checkbox. Cursor moves to the new line, but focus does not actually move.

Firefox: Creates the checkbox. Cursor moves to the new line and focus moves as well


AlbertHilb commented 7 years ago

This is related to the onBlurissue described in #853.

danburzo commented 7 years ago

I just want to add that Firefox/macOS also seems to have some problems with clicking on the text for the check items — it randomly selects text or makes the cursor jump to the beginning of the content area.