Skip to content

Checkbox on iOS is not visible #2334

@rumax

Description

@rumax

Current behaviour

Checkbox on iOS is no visible if not checked.

Expected behaviour

Code sample

Use the demo from docs

import * as React from 'react';
import { Checkbox } from 'react-native-paper';

const MyComponent = () => {
  const [checked, setChecked] = React.useState(false);

  return (
    <Checkbox
      status={checked ? 'checked' : 'unchecked'}
      onPress={() => {
        setChecked(!checked);
      }}
    />
  );
};

export default MyComponent;

Screenshots (if applicable)

Unchecked state:

Screenshot 2020-11-01 at 16 02 14

Checked state:

Screenshot 2020-11-01 at 18 44 20

What have you tried

Used official docs https://callstack.github.io/react-native-paper/checkbox.html

Also not style property to checkbox?

Screenshot 2020-11-01 at 18 47 31

Screenshot 2020-11-01 at 18 47 41

Your Environment

software version
ios or android iOS or web case with expo
react-native 0.63.3
react-native-paper 4.3.0
node v12.16.1
npm or yarn 6.13.4
expo sdk 39.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions