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

[Post Comments] Input fields can extend beyond the edges of the screen #37237

Closed
kjellr opened this issue Dec 8, 2021 · 2 comments · Fixed by #37238
Closed

[Post Comments] Input fields can extend beyond the edges of the screen #37237

kjellr opened this issue Dec 8, 2021 · 2 comments · Fixed by #37238
Assignees
Labels
[Block] Comments (legacy) The legacy mode of the Comments block (formerly known as Post Comments) [Block] Post Comments Form Affects the Comments Form Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@kjellr
Copy link
Contributor

kjellr commented Dec 8, 2021

Description

Because box-sizing: border-box is not set for the input fields on the comment form, the fields can extend beyond 100%, causing a vertical scroll.

Step-by-step reproduction instructions

This can be reproduced in Twenty Twenty-Two, running WordPress 5.9, Beta 2. Using a small screen, visit any single post that has comments enabled, and scroll down to view the comments form.

This effects any block theme that uses the Post Comments block and doesn't set box-sizing: border-box via CSS.

Screenshots, screen recording, code snippet

Screen Shot 2021-12-08 at 15 10 48

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@kjellr kjellr added [Block] Post Comments Form Affects the Comments Form Block [Block] Comments (legacy) The legacy mode of the Comments block (formerly known as Post Comments) [Type] Bug An existing feature does not function as intended labels Dec 8, 2021
@kjellr
Copy link
Contributor Author

kjellr commented Dec 8, 2021

Related issue: #35704

I'm not sure, but this may need to be fixed in both the Post Comments and Post Comments Form stylesheets.

@kjellr
Copy link
Contributor Author

kjellr commented Dec 8, 2021

Adding to 5.9 Must-Haves since this effects Twenty Twenty-Two.

@pbking pbking self-assigned this Dec 8, 2021
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Comments (legacy) The legacy mode of the Comments block (formerly known as Post Comments) [Block] Post Comments Form Affects the Comments Form Block [Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants