mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 01:59:10 +00:00
@@ -71,6 +71,9 @@ const NativeMethodsMixin = {
|
|||||||
const node = findNodeHandle(this);
|
const node = findNodeHandle(this);
|
||||||
const classList = Array.prototype.slice.call(node.classList);
|
const classList = Array.prototype.slice.call(node.classList);
|
||||||
const style = { ...node.style };
|
const style = { ...node.style };
|
||||||
|
// See #454
|
||||||
|
delete style.length;
|
||||||
|
|
||||||
const domStyleProps = { classList, style };
|
const domStyleProps = { classList, style };
|
||||||
|
|
||||||
// Next DOM state
|
// Next DOM state
|
||||||
|
|||||||
Reference in New Issue
Block a user