CheckBox Icon misaligned
See original GitHub issueI have gone through these following points
- Check latest documentation: https://docs.nativebase.io/
- Check for existing open/closed issues for a possible duplicate before creating a new issue: https://github.com/GeekyAnts/NativeBase/issues
- Use the latest NativeBase release: https://github.com/GeekyAnts/NativeBase/releases
- [] Check examples from NativeBase KitchenSink https://github.com/GeekyAnts/NativeBase-KitchenSink
- [] For discussion purpose make use of NativeBase Slack: http://slack.nativebase.io/
- [] For queries related to theme, check Theme Variables from Docs and live NativeBase Theme Editor http://nativebase.io/customizer/
Issue Description
Versions used: native-base: 2.13.13 react-native-vector-icons: 7.0.0
npx react-native info
System: OS: macOS 10.15.5 CPU: (4) x64 Intel® Core™ i5-7360U CPU @ 2.30GHz Memory: 398.30 MB / 16.00 GB Shell: 5.7.1 - /bin/zsh Binaries: Node: 13.7.0 - /usr/local/bin/node npm: 6.14.5 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2 Android SDK: API Levels: 29 Build Tools: 29.0.3, 30.0.1 System Images: android-29 | Google Play Intel x86 Atom IDEs: Android Studio: 3.6 AI-192.7142.36.36.6392135 Xcode: 11.5/11E608c - /usr/bin/xcodebuild npmPackages: @react-native-community/cli: ^4.0.1 => 4.10.1 react: 16.9.0 => 16.9.0 react-native: ~0.61.5 => 0.61.5 npmGlobalPackages: react-native-ble-plx: 1.0.3 react-native-create-library: 3.1.2 react-native-git-upgrade: 0.2.7 react-native-permissions: 1.1.1
Expected behaviour
Checkmarks being aligned properly inside CheckBox
Actual behaviour
Steps to reproduce
return issues.map((obj: NazzaApi.FeedbackContentRequest) => (
<ListItem
key={obj.id}
onPress={() => obj.id != null && this.toggleCheckbox(obj.id)}
>
<CheckBox
color={this.colorAccent}
checked={
this.state.selectedIssues &&
this.state.selectedIssues.includes(obj.id)
}
/>
<Body>
<Text>{obj.description}</Text>
</Body>
</ListItem>
)
);
Is the bug present in both iOS and Android or in any one of them?
Present in both, but more obvious on iOS (see pictures)
Any other additional info which would help us debug the issue quicker.
x
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:17
This issue is fixed in the latest version. If you have ejected the theme and using it, please make changes as per these values https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/platform.js#L127 https://github.com/GeekyAnts/NativeBase/blob/master/src/theme/variables/platform.js#L129
Use
native-base+2.13.15.patch