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
Thanks for the detailed issue report. This would be useful I think, I'm on a short trip, can probably pick this up later this month, PR is welcome as well.
I experimented with this a bit. The above solution wouldn't work.
We'd need to add custom onblur and onfocus callbacks to the FilePond core (you can enter the FilePond drop area and navigate over multiple files before leaving). Then we can expose the above onFocus and onBlur handlers on the react adapter and link them to the custom core callbacks.
Is your feature request related to a problem? Please describe.
I'm always frustrated when I can't add imperatively add a focus state to the wrapper when the input is focused.
Describe the solution you'd like
Update the render method to accept
onFocus
andonBlur
props, and pass those props to theinput
element.For example:
Describe alternatives you've considered
onInit
handlerAdditional context
Issues search results for
focus
: https://github.com/pqina/react-filepond/issues?q=is%3Aissue+focusIssues search results for
blur
: https://github.com/pqina/react-filepond/issues?q=is%3Aissue+blurThe text was updated successfully, but these errors were encountered: