Skip to content

Commit f1a03a4

Browse files
committed
Remove code to fix pointerEvents inline styling
1 parent 1a126da commit f1a03a4

File tree

1 file changed

+1
-4
lines changed
  • packages/react-native-web/src/modules/createDOMProps

1 file changed

+1
-4
lines changed

packages/react-native-web/src/modules/createDOMProps/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -879,11 +879,8 @@ const createDOMProps = (elementType, props, options) => {
879879
`props.pointerEvents is deprecated. Use style.pointerEvents`
880880
);
881881
}
882-
const pointerEventsValue =
883-
StyleSheet.flatten(style).pointerEvents || pointerEvents;
884-
885882
const [className, inlineStyle] = StyleSheet(
886-
[style, pointerEventsValue && pointerEventsStyles[pointerEventsValue]],
883+
[style, pointerEvents && pointerEventsStyles[pointerEvents]],
887884
{
888885
writingDirection: 'ltr',
889886
...options

0 commit comments

Comments
 (0)