Closed omerkhawaja closed 6 years ago
Let's say I have a text input that on onFocus triggers a menu popover to be visible, and when onBlur occurs, the menu is removed.
onFocus
onBlur
Is there a way to use onFocus for this type of functionality? I'm not seeing onFocus support in the documentation.
It appears that updateOn: PropTypes.oneOf(['change', 'blur', 'submit']) doesn't support focus, but I thought I'd ask.
updateOn: PropTypes.oneOf(['change', 'blur', 'submit'])
focus
Yes, there is no support for onFocus in RRF now.
Let's say I have a text input that on
onFocus
triggers a menu popover to be visible, and whenonBlur
occurs, the menu is removed.Is there a way to use
onFocus
for this type of functionality? I'm not seeingonFocus
support in the documentation.It appears that
updateOn: PropTypes.oneOf(['change', 'blur', 'submit'])
doesn't supportfocus
, but I thought I'd ask.