"styles" is not handled properly
See original GitHub issueReproduce:
ReactDOM.render(
<Iframe url='https://www.test-cors.org/'
width='100%'
height='100%'
styles={{ borderWidth: '0' }}
position='relative'/>,
root
)
The result is an iframe with no “border-width” set, with an extra attribute styles=“[object Object]”
Issue Analytics
- State:
- Created 4 years ago
- Reactions:10
- Comments:5 (1 by maintainers)
Top Results From Across the Web
style` is not handled correctly · Issue #92 · jwiegley/alert - GitHub
The parameter :style isn't handled correctly, so the behavior of #'alert is overwritten by the default style for some users.
Read more >css style does not applied properly in chrome for bootstrap ...
My web application uses bootstrap 3.3.7, and I accidentally used the bootstrap-switch files for bootstrap 2, instead of 3. As soon as I...
Read more >Handling common HTML and CSS problems - MDN Web Docs
CSS has a similar story — you need to check that your property names are spelled correctly, property values are spelled correctly and...
Read more >CSS Inheritance, Cascade, and Specificity
Styles that are not inherited are usually related to the appearance of elements. For example, the border property is not inherited, because it...
Read more >Google C++ Style Guide
Note that this guide is not a C++ tutorial: we assume that the reader is ... work properly when your code is consistent...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed now thanks to @nagamejun
One workaround would be to use emotion and style the
Iframe
component