The backdropPresableProps property of SpeedDial has no effect
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 58/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- react-native
- Ambito
- mobile
Direzione di ricerca
Reproduce the issue with the provided SpeedDial example using @rneui/base and @rneui/themed. Start by tracing the SpeedDial implementation and its backdropPressableProps handling; done means the backdrop applies the supplied children, backgroundColor, and onPress behavior, with a regression test covering them.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is there an existing issue for this?
- I have searched the existing issues
Explain what you did
I set the background color and added sub components and click events for BackdropPresableProps, but they have no effect on the view
Expected behavior
No effect on the view
Describe the bug
I set the background color of the component but it had no effect. Below is my code
Steps To Reproduce
<SpeedDial
backdropPressableProps={{
children: <Text>123</Text>,
style: {backgroundColor: 'yellow'},
onPress:()=>{
console.log('11111111111111')
}
}}
pressRetentionOffset={1000}
isOpen={open}
labelPressable
placement="right"
overlayColor="transparent"
icon={{
name: 'pencil',
type: 'font-awesome',
color: '#fff',
style: {marginLeft: 5, marginBottom: 7},
}}
openIcon={{
name: 'remove',
type: 'font-awesome',
color: '#fff',
style: {marginLeft: 5, marginBottom: 7},
}}
onOpen={() => setOpen(!open)}
onClose={() => setOpen(!open)}>
<SpeedDial.Action
icon={{
name: 'plus',
type: 'font-awesome',
color: '#fff',
style: {marginLeft: 5, marginBottom: 7},
}}
title="Add"
onPress={() => console.log('Added Event')}
/>
<SpeedDial.Action
icon={{
name: 'minus',
type: 'font-awesome',
color: '#fff',
style: {marginLeft: 5, marginBottom: 7},
}}
title="Delete"
onPress={() => console.log('Delete Event')}
/>
</SpeedDial>
Screenshots
No response
Your Environment
`npx @rneui/envinfo`
```
"@rneui/base": "^4.0.0-rc.7",
"@rneui/themed": "^4.0.0-rc.8",
```
- Lingua principale
- MDX
- Stelle
- 25.9k
- Fork
- 4.7k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di react-native-elements/react-native-elements
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
react-native-elements/react-native-elements#4035 · 1 commento ·
-
Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
react-native-elements/react-native-elements#3963 · 2 commenti · 2 reazioni ·
-
component: Button
react-native-elements/react-native-elements#4032 · 1 assegnatario ·
-
TS Bug - @rneui/base@5.0.0 — Undeclared type dependency causes IconProps to lose color/name/size Apertacomponent: Icon
react-native-elements/react-native-elements#4027 · 2 commenti · 4 reazioni · 1 assegnatario ·
-
📞 Needs Response from Author
react-native-elements/react-native-elements#4022 · 9 commenti · 2 reazioni · 1 assegnatario ·
Tutte le issue di react-native-elements/react-native-elements
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
hemilabs/ui-monorepo#2323 ·
-
Needs: Author Feedback Needs: Repro
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
react/react-native#58621 · 1 commento ·
-
contributor: external needs review
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
ionic-team/capacitor#8616 ·
-
code quality good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100