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 797 forks source link

Form Date Picker Block: Date picker doesn't work in page preview #19586

Open dpasque opened 3 years ago

dpasque commented 3 years ago

Steps to reproduce

  1. Starting at URL: Wordpress.com editor (wordpress.com/post/)
  2. Add a Date Picker block to a Form block.
  3. Click preview to preview the page
  4. Click on the date picker field in the preview.
  5. Try to select a date

Note: this only affects preview. When you publish and visit the site, the date picker is functional.

What I expected

You can select dates in the Date Picker in preview and see them reflected on the page

What happened instead

When you click on a date, nothing happens at all and the date picker stays open

Why / User Impact

Although this doesn't actually affect the block once published, being non-functional in the preview may give builders pause for using the block if they are worried it won't work when live.

Browser / OS version

Chrome 90.0.4430.72 Windows 10 Home 19042.928

Screenshot / Video

A gif is worth a thousand words!

Context / Source

exploratory-testing

zdenys commented 3 years ago

Just noticed this issue so wanted to move it to https://github.com/Automattic/jetpack since Contact Form issues are handled there.