You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When fireEvent is called with wrapped TextInput(i.e with styled-components) that is disabled the event bubbles up.
For example: We want to check if the TextInput component is actually disabled we might check whether onFocus event handler was called or not.
Expected behaviour
onFocus handler should not be called if the TextInput is disabled (aka editable prop set to false)