I have a React.js component that is setting the height of the component as an inline style and I have no control over it.
To make it work with buggyfill, I had to create a class with !important to override the precedency of the inline styles of the lib. Therefor I have something like this in my CSS file:
.map {
height: 85vh !important;
}
When debugging on IOS7, I see the fixed px class that is the result of buggyfill, but the above class definition still takes precedency over the 3 (the buggyfill version, the inline version and the !important class version)
Any ideas how to bypass this ?
I have a React.js component that is setting the height of the component as an inline style and I have no control over it.
To make it work with buggyfill, I had to create a class with
!importantto override the precedency of the inline styles of the lib. Therefor I have something like this in my CSS file:When debugging on IOS7, I see the fixed px class that is the result of buggyfill, but the above class definition still takes precedency over the 3 (the buggyfill version, the inline version and the !important class version)
Any ideas how to bypass this ?