mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-18 16:06:17 +00:00
99348eaedb
Problem:
The content of style sheets was being set as a child of 'style', which
causes React to escape the content. This meant that the pointer-events
selectors were broken (">" became ">") and pointer-events were
disabled for the entire server-rendered document.
Solution:
Use 'dangerouslySetInnerHTML' to avoid the CSS text being escaped.
Fix #546