Slate: Checkbox Example Inconsistent Across Browsers

Created on 18 Jun 2017  Â·  2Comments  Â·  Source: ianstormtaylor/slate

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


  • There are similar issues on IE and Chrome on backspacing. Here too, Firefox works fine.
  • These issues are not present if you press enter in the middle of text in a checkbox, such that the new checkbox is immediately populated with some text.
bug ♥ help

All 2 comments

This is related to the onBlurissue described in #853.

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Slapbox picture Slapbox  Â·  3Comments

gorillatron picture gorillatron  Â·  3Comments

chriserickson picture chriserickson  Â·  3Comments

JSH3R0 picture JSH3R0  Â·  3Comments

YurkaninRyan picture YurkaninRyan  Â·  3Comments