-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tech debt] Rich-text use new functions blurField and focusField in onBlur and onFocus #1711
Comments
I'm going through and reviewing some of the open issues on our boards to make sure I understand the current state. @dratwas Now that we've updated to 0.62 what would be the ideal change needed to resolve this task? It seems like it would be to switch something to |
Unfortunately, we are still on 0.61.5 ;( https://github.com/WordPress/gutenberg/blob/master/package.json#L193
I believe that this comment should help :) #1702 (comment) |
😅 oops I must have gotten confused by looking at the bump to 0.63 work never mind
I actually got a bit lost in that comment's description and what the goal would be once we update to 0.63. If the desired state is to delete those two lines can we go ahead and do that? |
The desired state is I can see that it is already done on the In addition, I also think that the whole logic should be revisited after these changes since it's kinda confusing that we call |
I think I understand now. Thank you @dratwas for summarizing it again! |
I think there is no reason to call
focus
in_onFocus
callback andblur
in_onBlur
callback in AztecView.We should only set the correct ID since we already know that the input is focused/blurred.
At this moment there is no such a functionality but
blurField
andfocusField
will be introduced in react-native 0.62.See #1696
and #1702 (comment)
The text was updated successfully, but these errors were encountered: