Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.59k stars 798 forks source link

Subscribe Block: Scroll state issue after submitting the block #27115

Closed ice9js closed 2 years ago

ice9js commented 2 years ago

Request via Slack: p1666633936106169-slack-jetpack-crew

When you submit the form and the page is refreshed it remains at the top of the page and you have to scroll down to see the ‘submission successful’ message. Would it be possible to make the page scroll to the form location (just above the footer) after submission? Basically, the problem is the only way of knowing whether the subscription was successful is for the subscriber to manually scroll down and find out.

The expected behavior after submission would be to see the "Subscribe Block" in view, no matter where it is placed on the page.

ice9js commented 2 years ago

Reported in https://github.com/WordPress/wporg-developer-blog/issues/14

ice9js commented 2 years ago

Closing. It seems the issue described in the original report was due to an old Jetpack version.