GeekyAnts / GeekyAnts/NativeBase
Overriding breakpoints or adding new ones breaks useBreakpointsValue
- Dominant language
- TypeScript
- Stars
- 20.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Adding custom breakpoints causes wrong results from the useBreakpointValue hook
### CodeSandbox/Snack link
https://snack.expo.dev/pir0Noo21
### Steps to reproduce
1. Open the provided snack
2. Make sure to open the web version on a separate window
3. Resize the window, specially to smaller sizes, around 400 px
4. There's a point where the column flex dir changes to row
### NativeBase Version
3.3.4
### Platform
- [ ] Android
- [ ] CRA
- [X] Expo
- [ ] iOS
- [ ] Next
### Other Platform
web
### Additional Information
This issue did not occur in 3.2.2, you can change the version on the package.json and repeat the steps and it works as expected
Contributor guide
Assessment
This issue has not been assessed yet.