Description
The Image Lightbox is not working on Classic Themes when using Gutenberg versions higher than 17.1.x. In the backend, the Image Block will present the "Expand on click" option, but in the frontend clicking on the image or in the icon to expand it will do nothing. No error is tracked in the browser console.
Switching to a block theme like TT4 or deactivating Gutenberg fixes the issue.
Step-by-step reproduction instructions
- Install a Classic Theme
- Install Gutenberg with a version higher than 17.1.x (I tested 17.2, 17.2.3 and 17.3)
- Add an image to a page/post
- Select the option to "Expand on click"
- The image lightbox will not open on click
Screenshots, screen recording, code snippet
Video: https://cldup.com/qvnfo5aGOa.mp4 (bigger than 10MB)
Environment info
- WordPress 6.4
- GB 17.1, 17.2, 17.2.3, 17.3
- Twenty Sixteen and TT4
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
Description
The Image Lightbox is not working on Classic Themes when using Gutenberg versions higher than 17.1.x. In the backend, the Image Block will present the "Expand on click" option, but in the frontend clicking on the image or in the icon to expand it will do nothing. No error is tracked in the browser console.
Switching to a block theme like TT4 or deactivating Gutenberg fixes the issue.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Video: https://cldup.com/qvnfo5aGOa.mp4 (bigger than 10MB)
Environment info
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