GeekyAnts / GeekyAnts/NativeBase

Overflow : "hidden" overwrite the shadow property in iOS for Pressable Comp.

Open
#5,743 1 comment 0 reactions 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

This issue pertains to the behavior of the overflow and shadow properties in iOS when used in conjunction with the Pressable component. The overflow property is used to control how content overflows its container, while the shadow property is used to add a drop shadow to a view or component. However, it appears that setting the overflow property to hidden is causing the shadow property to be overwritten or not applied as expected for the Pressable component in iOS.

### CodeSandbox/Snack link

https://snack.expo.dev/@adarshjaiswal/5094c2

### Steps to reproduce

1. Go to '...'
2. Click on '...'
3. Scroll down to '...'
4. See error

### NativeBase Version

3.4.19

### Platform

- [ ] Android
- [ ] CRA
- [ ] 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.