The properties shake of the Input have no effect when used
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- react-native
- Área
- mobile
Línea de trabajo
Start with the Input component and reproduce the behavior using the supplied JSX and the listed @rneui/base and @rneui/themed versions. Check whether the shake callback and related properties are applied to the rendered view. Done means the reported properties produce their expected visible effect, with a regression test if the project provides one.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is there an existing issue for this?
- I have searched the existing issues
Explain what you did
I am verifying all the properties of the Input, but using these three properties has no effect
Expected behavior
These properties have no effect on the view after use. I am not sure if it is a problem with the properties or my code. I will provide my code below
Describe the bug
No effect on the view
Steps To Reproduce
<View style={styles.container}>
<Text style={styles.subText}>shake</Text>
<Input
inputStyle={{ color: '#222222' }}
shake={() => {
const shakeAnimationValue = new Animated.Value(0);
shakeAnimationValue.setValue(0);
Animated.timing(shakeAnimationValue, {
duration: 375,
toValue: 3,
easing: Easing.bounce,
useNativeDriver: true,
}).start();
}}
rightIconContainerStyle={{
width: 40,
borderWidth: 1,
backgroundColor: 'blue',
paddingLeft: 5,
borderRadius: 20,
}}
rightIcon={{
type: 'font-awesome',
name: 'close',
color: 'pink',
size: 30,
}}
labelStyle={{ fontSize: 30, fontWeight: '400', color: 'pink' }}
label="label"
placeholder="INPUT WITH MESSAGE"
/>
</View>
Screenshots
No response
Your Environment
"@rneui/base": "^4.0.0-rc.7",
"@rneui/themed": "^4.0.0-rc.8",
- Lenguaje dominante
- MDX
- Estrellas
- 25.9k
- Forks
- 4.7k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de react-native-elements/react-native-elements
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
react-native-elements/react-native-elements#4035 · 1 comentario ·
-
Needs Triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
react-native-elements/react-native-elements#3963 · 2 comentarios · 2 reacciones ·
-
component: Button
react-native-elements/react-native-elements#4032 · 1 asignado ·
-
TS Bug - @rneui/base@5.0.0 — Undeclared type dependency causes IconProps to lose color/name/size Abiertocomponent: Icon
react-native-elements/react-native-elements#4027 · 2 comentarios · 4 reacciones · 1 asignado ·
-
📞 Needs Response from Author
react-native-elements/react-native-elements#4022 · 9 comentarios · 2 reacciones · 1 asignado ·
Todos los issues de react-native-elements/react-native-elements
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
hemilabs/ui-monorepo#2323 ·
-
Needs: Author Feedback Needs: Repro
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
react/react-native#58621 · 1 comentario ·
-
contributor: external needs review
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
ionic-team/capacitor#8616 ·
-
code quality good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100