Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome Deprecation Notice: Using unescaped '#' characters in a data URI body is deprecated #138

Open
thoiberg opened this issue May 15, 2018 · 2 comments

Comments

@thoiberg
Copy link

thoiberg commented May 15, 2018

Hi! 馃憢

I'm using using version 2.2.1 (via react-select), and I'm getting the following warning in my Chrome console:
screen shot 2018-05-15 at 2 16 32 pm

Chrome link from the screenshot

This looks to be related to this line in the AutosizeInput.

Assuming Chrome is not lying to me it should be as simple as replacing the # with the %23 sign (and verifying it still works)

__html: `input%23${this.state.inputId}::-ms-clear {display: none;}`,

Happy to raise a PR for this if it makes sense?

@oleblaesing
Copy link

Is there a fix for it planned? I'm also facing this problem.

However, Chrome delayed the removal for its M71 update this month (December 2018).

@thoiberg
Copy link
Author

@oleblaesing I'll throw my suggested fix in a branch and see if it fixes it. If so, I'll raise a PR. Not sure if it will get merged but at least it will be a reference for anyone who needs to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants