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

The "Preview" Button is Unresponsive (6.6-RC3 + 18.7.1) #63482

Closed
mrfoxtalbot opened this issue Jul 12, 2024 · 4 comments
Closed

The "Preview" Button is Unresponsive (6.6-RC3 + 18.7.1) #63482

mrfoxtalbot opened this issue Jul 12, 2024 · 4 comments
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended

Comments

@mrfoxtalbot
Copy link

Description

The "Preview" button in the editor does not work. It does not respond at all See this video:

Kapture.2024-07-12.at.14.28.23.mp4

The console shows this error:

react-dom.min.js:2 Uncaught TypeError: Cannot destructure property '_onActionPerformed' of 'undefined' as it is undefined. at Object.callback (index.min.js:152:1182) at onClick (index.min.js:152:3182) at Object.current (index.min.js:111:27105) at index.min.js:1:28665 at Object.De (react-dom.min.js:2:16716) at Be (react-dom.min.js:2:16870) at react-dom.min.js:2:36710 at Ir (react-dom.min.js:2:36804) at Ur (react-dom.min.js:2:37217) at react-dom.min.js:2:42635

Step-by-step reproduction instructions

  1. Go to New Post
  2. Click on "Preview"
  3. See how nothing happens.

Screenshots, screen recording, code snippet

No response

Environment info

  • WordPress 6.6-RC3
  • This only happens with the Gutenberg plugin active (Version 18.7.1). If I deactivate the plugin, the preview works correctly:
Kapture.2024-07-12.at.14.33.48.mp4

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

@mrfoxtalbot mrfoxtalbot added [Type] Bug An existing feature does not function as intended [Priority] High Used to indicate top priority items that need quick attention labels Jul 12, 2024
@mrfoxtalbot mrfoxtalbot changed the title The "Preview" Button Does Not Work with 18.7.1 The "Preview" Button Does Not Work (6.6-RC3 + 18.7.1) Jul 12, 2024
@mrfoxtalbot mrfoxtalbot changed the title The "Preview" Button Does Not Work (6.6-RC3 + 18.7.1) The "Preview" Button is Unresponsive (6.6-RC3 + 18.7.1) Jul 12, 2024
@mrfoxtalbot
Copy link
Author

CC @annezazu and @priethor.
Thank you!

@Mamaduka
Copy link
Member

Fixed via #63460.

@Mamaduka
Copy link
Member

Note: The bug doesn't affect WP 6.6.

@mrfoxtalbot
Copy link
Author

Thank you @Mamaduka!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Priority] High Used to indicate top priority items that need quick attention [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

2 participants