Slate: Issues in IE 11

Created on 4 Apr 2018  路  4Comments  路  Source: ianstormtaylor/slate

Hi, we found several issues in IE 11 during slate integration:

Objects are not valid as a React child (found: object with keys {size, _origin, _capacity, _level, _root, _tail, ownerID, hash, __altered}). If you meant to render a collection of children, use an array instead. in span (at text.js:130)
Unable to get property 'childNodes' of undefined or null reference
Objects are not valid as a React child (found: List [ [object Object] ]). If you meant to render a collection of children, use an array instead.

Attached a pull request with changes that work well to me:
https://github.com/ianstormtaylor/slate/pull/1756

Most helpful comment

This is because the official website is not transpiled for IE11 compat nor includes the needed polyfills (like Symbol)

All 4 comments

I can't even load http://slatejs.org/ in IE11.

Error:

SCRIPT5009: 'Symbol' is undefined
File: main-01e8c59ea6c6fde8ea58.js, Line: 6, Column: 81245

This is because the official website is not transpiled for IE11 compat nor includes the needed polyfills (like Symbol)

On a related note, I just opened a PR for adding the polyfills needed to support IE11 on the example site: https://github.com/ianstormtaylor/slate/pull/1782

Hey, thanks for using Slate! Unfortunately, we can't offer support for usage questions in the issues here because it becomes overwhelming to maintain the project if the issues are filled with questions.

However, we do have a Slack channel and people are constantly asking and answering questions in there. So I'm going to close this issue, but I definitely recommend joining the Slack channel if you want to find people that might be able to help.

Thanks for understanding!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ianstormtaylor picture ianstormtaylor  路  3Comments

bunterWolf picture bunterWolf  路  3Comments

varoot picture varoot  路  3Comments

vdms picture vdms  路  3Comments

Slapbox picture Slapbox  路  3Comments