Form block: Prevent submit button from getting larger when an error appears #40753
Labels
[Block] Contact Form
Form block (also see Contact Form label)
Customer Report
Issues or PRs that were reported via Happiness. aka "Happiness Request", or "User Report"
[Feature] Contact Form
[Feature] Forms Blocks
Blocks designed to streamline user input and engagement, such as contact, newsletter sign-ups, etc.
[Platform] Atomic
[Plugin] Jetpack
Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/
[Pri] Normal
[Status] Escalated to Product Ambassadors
[Status] Priority Review Triggered
The guild in charge of triage has been notified of this issue in Slack
Triaged
[Type] Bug
When a feature is broken and / or not performing as intended
Impacted plugin
Jetpack
Quick summary
If you submit a form without filling out all of the required fields, an error appears. At the same time, the submit button (a sibling element of the error) grows in size.
Steps to reproduce
A clear and concise description of what you expected to happen.
The error should appear and the submit button should not change in size.
What actually happened
The submit button has a 100% height value, which causes it to become significantly larger when the error appears:
Screen.Capture.on.2024-12-27.at.14-26-08.mp4
Impact
Some (< 50%)
Available workarounds?
No but the platform is still usable
If the above answer is "Yes...", outline the workaround.
No response
Platform (Simple and/or Atomic)
Atomic
Logs or notes
Only tested/replicated on Atomic so far. Replicated on several themes, including a classic theme (Twenty Twenty) and block themes. Initial customer report in 9216021-zd-a8c.
The text was updated successfully, but these errors were encountered: