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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

React ignores CSS grid properties in style attribute #9805

Closed
jonrimmer opened this issue May 29, 2017 · 1 comment
Closed

React ignores CSS grid properties in style attribute #9805

jonrimmer opened this issue May 29, 2017 · 1 comment

Comments

@jonrimmer
Copy link

Do you want to request a feature or report a bug?

Bug

What is the current behavior?

Using CSS grid properties in an element's style attribute does not work. React ignores them.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://jsfiddle.net or similar (template: https://jsfiddle.net/84v837e9/).

http://plnkr.co/edit/JaMCvqj9znnwuDyTnB9Z?p=preview

What is the expected behavior?

React should include CSS grid properties, and all other CSS properties, in the rendered DOM.

If React only intends to support a subset of CSS, then this should be made clear in the documentation, and the supported properties should be enumerated. As it is, there is nothing to suggest that certain properties will work, and others won't (without any error message or warning indicating that they have been ignored).

Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?

React v15.5.0

@gaearon
Copy link
Collaborator

gaearon commented May 29, 2017

This was fixed in #9185 and will be a part of 15.6.

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