-
Notifications
You must be signed in to change notification settings - Fork 308
Media Queries Out Of Order #975
Comments
It looks like this is caused because Radium will reuse media queries on multiple stops. Because of this, the order doesn't match the js stylesheet. If anyone else runs into this, hope that helps. |
@SCasarotto -- do you think you could open a WIP pull request that just adds failing regression test(s)? |
@ryan-roemer I am not sure when I will get a chance to setting that up. I could provide an example on codesandbox if that would help. |
@SCasarotto I'm unable to reproduce this. An example codesandbox or WIP pull request that adds failing regression tests would allow us to fix this issue. |
Sorry this has taken so long to come back to. Work has been crazy and I hadn't worked on a project where this was a problem in a while. https://codesandbox.io/s/5vrvy139xn If you remove line 15 in styles.js all styles are applied the same to all. When its added the order gets all messed up. There are probably many ways to recreate this but that seems to be clearest. Notice the difference applied to each. |
Most of the time this isn't an issue but I found that the media queries are getting created out of order. Is this something I am doing wrong or is this possibly something with the library?
The text was updated successfully, but these errors were encountered: