Skip to content
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

Fix BottomSheet.SubSheet/TextInput Conflict #3784

Merged
merged 5 commits into from
Aug 3, 2021

Conversation

SiobhyB
Copy link
Contributor

@SiobhyB SiobhyB commented Aug 3, 2021

Fixes: WordPress/gutenberg#33828

gutenberg: WordPress/gutenberg#33845

Description

As outlined in WordPress/gutenberg#33828, the text editor for adding alt text to an image (accessed from the image block's settings) isn't currently working as expected. At the time of writing, the keyboard is immediately dismissed with each keystroke, making it extremely difficult, bordering on impossible, to add alt text to an image.

This issue was introduced with the changes to the BottomSheet.SubSheet component in WordPress/gutenberg@d650b4f. With this PR, I have refactored those changes in a way that enables the alt text entry to work as expected.

Testing

Please refer to the Gutenberg PR as the central and most up-to-date place for testing steps.


PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered if this change warrants user-facing release notes more info and have added them to RELEASE-NOTES.txt if necessary.

@SiobhyB SiobhyB added [Type] Bug Something isn't working Blocks bugfix [Type] Regression Existing functionality that got broken labels Aug 3, 2021
@SiobhyB SiobhyB self-assigned this Aug 3, 2021
@SiobhyB SiobhyB marked this pull request as ready for review August 3, 2021 13:43
@SiobhyB SiobhyB requested a review from dcalhoun August 3, 2021 13:43
Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Aug 3, 2021

Wanna run full suite of Android and iOS UI tests? Click here and 'Approve' CI job!

@SiobhyB SiobhyB enabled auto-merge August 3, 2021 18:35
@SiobhyB SiobhyB merged commit 8c7c1c2 into develop Aug 3, 2021
@SiobhyB SiobhyB deleted the fix/broken-bottom-sheet-text-control branch August 3, 2021 18:54
@SiobhyB SiobhyB mentioned this pull request Aug 4, 2021
5 tasks
@fluiddot fluiddot added this to the 1.58.2 (17.9) milestone Aug 4, 2021
@fluiddot
Copy link
Contributor

fluiddot commented Aug 4, 2021

Heads up that I've assigned this PR to the 1.58.2 milestone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocks bugfix [Type] Bug Something isn't working [Type] Regression Existing functionality that got broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inputting text into Image Alt Field causes keyboard to be dismissed after every stroke
3 participants