callstack / callstack/react-native-paper
IconButton style prop is not manageable due to container element.
- Langage dominant
- TypeScript
- Étoiles
- 14.5k
- Forks
- 2.2k
- Merge moyen
- 5 j 23 h
- PR mergées (30 j)
- 12
Description
### Current behaviour
When you add style prop such as zIndex to IconButton component it's no applied because IconButton wrapped in Surface component which has static styles defined.
### Expected behaviour
When adding zIndex property it applies to Surface component and works.
### How to reproduce?
Create ` `
### Preview
How it looks when I add zIndex: 1 to IconButton style prop

How it looks when I add View wrapper with zIndex: 1

### What have you tried so far?
In order to fix it I wrapped IconButton with extra ``
### Your Environment
| software | version
| --------------------- | -------
| react-native | 0.73.4
| react-native-paper | 5.11.3
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.