react-component / react-component/util

IE11 throw error: Object doesn't support property or method 'prepend'

Open
#214 2 comments 3 reactions 1 assignee View on GitHub

@zombieJ is already working on this.

Since Mar 20, 2021.

Dominant language
TypeScript
Stars
670
Forks
205
Avg merge
11d 17h
Merged PRs (30d)
4

Description

I got an error message in IE 11:

Object doesn't support property or method 'prepend'"

Do you guys noticed Element.prepend not support IE 11?

https://github.com/react-component/util/blob/0c5ba50d497ba21aebdf5baa89d2994c38dce5af/src/Dom/dynamicCSS.ts#L27

Downgrade solve this problem.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.