Skip to content

On focus doesn't fire any events and the placeholder text not Vertical in center #32

@JoyCood

Description

@JoyCood
          > Hello, thanks for the reply, but I ended up using another library for my outlineInput. I tried your library without any Controller and still wasn't getting any response on the onFocus event. Maybe it is my react-native and reanimate version.

i have the same issue. @swushi

"react": "18.1.0",
"react-native": "0.70.6",
"react-native-input-outline": "^1.5.2",
"react-native-reanimated": "^2.13.0",
import { InputOutline } from 'react-native-input-outline';

const inputRef = useRef<InputOutline>(null);

<InputOutline
    placeholder={t`Enter your emailg`}
    onFocus={() => console.log("hhhhhhhhh")}
    fontSize={15}
    paddingVertical={0}
    style={styles.input}					
/>

const styles = StyleSheet.create({
  input: {
      width: '100%',
      marginTop: 20,
      fontSize: 20,
  }
})

Originally posted by @JoyCood in #20 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions