Skip to content

Picker iOS errror #22

@mbs8

Description

@mbs8

simulator screen shot - iphone 6 - 2018-10-31 at 10 18 53

I had this issue when tried to use the picker field, I think the error is in:
picker/index.js#L27
on line 57

      <View
        style={Object.assign(styles.pickerMainIOS, {
          backgroundColor: theme.pickerBgColor,
          borderBottomColor: theme.inputBorderColor,
          borderBottomWidth: theme.borderWidth,
        })}
     >

It works fine like this:

      <View
        style={{...styles.pickerMainIOS, ...{
          backgroundColor: theme.pickerBgColor,
          borderBottomColor: theme.inputBorderColor,
          borderBottomWidth: theme.borderWidth,
        }}}
      >

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions