Hi! I'm testing legend-list in my app (React Native + React Native Web), and I noticed a lot of warnings like this at runtime:
index.js:1 React does not recognize the `automaticallyAdjustsScrollIndicatorInsets` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `automaticallyadjustsscrollindicatorinsets` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
It seems that some React Native props are being passed directly to the HTML <div>.
I also ran into an error when setting a style prop on the list:
Uncaught TypeError: Failed to set an indexed property [0] on 'CSSStyleDeclaration': Indexed property setter is not supported.
If I force a webpack alias to react-native.js instead of react-native.web.js, both the warnings and the error disappear, but I then get some visual glitches.
Is this expected, or is there something I might be missing in my setup?
(v3.3.5)
Thank you!
Hi! I'm testing legend-list in my app (React Native + React Native Web), and I noticed a lot of warnings like this at runtime:
It seems that some React Native props are being passed directly to the HTML
<div>.I also ran into an error when setting a
styleprop on the list:If I force a webpack alias to
react-native.jsinstead ofreact-native.web.js, both the warnings and the error disappear, but I then get some visual glitches.Is this expected, or is there something I might be missing in my setup?
(v3.3.5)
Thank you!