GeekyAnts / GeekyAnts/NativeBase

Checkbox text overflows out of container

Open
#5,264 5 comments 1 reaction 0 assignees View on GitHub
bug triage v3
Dominant language
TypeScript
Stars
20.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

### Description

When using the Checkbox component, having some long text results in content going off the screen or out of the containers width.

### CodeSandbox/Snack link

https://snack.expo.dev/K6hps6IFF

### Steps to reproduce

Expo: 44.0.6
Native Base: 3.4.11
React: 17.0.1
React Native: 0.64.3

```
import { Box, Checkbox, NativeBaseProvider } from 'native-base';

export default function App() {
return (



This is a long bit of text inorder to go out of this page and see the
issue



);
}

```

I took a basic expo app to show this problem
Screenshot 2022-08-10 at 22 56 34

### NativeBase Version

3.4.11

### Platform

- [X] Android
- [ ] CRA
- [X] Expo
- [X] iOS
- [ ] Next

### Other Platform

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.