You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The import statements in the library should be specific, In latest react native, 0.75 for my case, as some files have the import as
import styles from './styles';
it picks the styles.native file instead of styles.js for both android and iOS platform and hence distorts the UI.
Actual Behavior
It should pick the file according to the platform
Steps to Reproduce the Problem
Install the library in the latest react native 0.75
Take a text filed and give it a label, it is not visible, unless you give it some space (where some is press the space bar before the label atleast 30-40 times) example - " somelabel"
Or you can inside this library, update the style import statement to
import styles from './styles.js';
Specifications
Version: 0.75
Platform: both android and iOS
The text was updated successfully, but these errors were encountered:
Expected Behavior
The import statements in the library should be specific, In latest react native, 0.75 for my case, as some files have the import as
import styles from './styles';
it picks the styles.native file instead of styles.js for both android and iOS platform and hence distorts the UI.
Actual Behavior
It should pick the file according to the platform
Steps to Reproduce the Problem
import styles from './styles.js';
Specifications
The text was updated successfully, but these errors were encountered: