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
I did observe that the issue did not always occur (most of these tests were with an image caption, but video captions appeared to behave similarly):
Switching away from image with empty caption
Scenario
Frequency of Issue Occurring
Image had no caption, and no text added to caption
Always
Image had caption, caption was entirely deleted
Usually
Switching away from image with non-empty caption
Scenario
Frequency of Issue Occurring
Had no caption, and text added to caption
Never
Had caption, and caption was not changed
Never
Had caption, caption was entirely deleted, text was added back to caption (all done while not losing focus on the caption)
Infrequently
The fact that having a caption avoids the issue when you delete and re-add the caption (sometimes) was pretty surprising to me. 🤔 Seems like I haven't really isolated the behavior well.
Possibly Related Issue
I also observed the keyboard-dismiss-behavior occur infrequently (was pretty rare though) when returning to the caption:
A bit of additional info for whoever picks this up (in case it's not me): the issue appears to be related to the fact that we do not render the component for an empty caption if the image/video block is not selected. Changing it so that the caption component always renders, even if it's empty, prevents the keyboard from dismissing.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: