My goal is to detect when the keyboard opens so I can trigger certain actions.
I have utilized a variety of methods such as:
Keyboard.addListener('keyboardWillShow', info => {
});
Keyboard.addListener('keyboardDidShow', info => {
});
However, I am facing an issue where the events keyboardWillShow and keyboardDidShow are being triggered not when the keyboard opens, but rather when it closes or when text input begins. What could be causing this unexpected behavior?