faustjs icon indicating copy to clipboard operation
faustjs copied to clipboard

Bug: Gutenberg Preview crashes

Open Julhol-droid opened this issue 3 years ago • 4 comments

When clicking multiple times on the "Preview in new tab" button in Gutenberg Editor the browser crashes. I already tried updating to FaustWP version 1.0.0 but this didn't fix it. When the plugin is deactivated it works just fine.

image

Applicable Versions

  • FaustWP Plugin version: 0.8.1
  • WordPress version: 6.0.1

Steps To Reproduce

  1. Make or edit a new page
  2. Click on the "Preview in new tab" button
  3. Once the new tab opens get back to the editor and click the button again
  4. Repeat step 2 approximately 10 - 15 times
  5. At some time the browser window will not response anymore. If you wait sometime it response again

The current behavior

Browser doesnt response after multiple clicks on "Preview in new tab" button

The expected behavior

There shouldn't be a response bug

Thank you in advance!

Julhol-droid avatar Jul 12 '23 13:07 Julhol-droid

Hey @Julhol-droid . Which browser are you using and which version?

theodesp avatar Jul 13 '23 10:07 theodesp

Hey @Julhol-droid . Which browser are you using and which version?

Chrome Version 114.0.5735.199

Julhol-droid avatar Jul 13 '23 10:07 Julhol-droid

Hey @Julhol-droid. Thank you very much for the report. I was able to reproduce. Will push a Fix soon.

theodesp avatar Jul 13 '23 11:07 theodesp

The fix should be available in the canary releases.

theodesp avatar Jul 17 '23 15:07 theodesp