Skip to content

New Lightbox (expand on click) does not work in WordPress 6.4 Beta 1 #54869

Closed as not planned

Description

@burnuser

Description

No Lightbox at all
Maybe (?) in conjunction with the usual layout error of Beta version, seen in navigation:
image

Step-by-step reproduction instructions

  1. Make a fresh WordPress installation.
  2. set "sample page" as Homepage
  3. Install Beta Plugin
  4. select Bleeding Edge version
  5. update wordpress
  6. insert an image
  7. select "expand on click"
  8. view page
  9. see image and try to click => ?

Screenshots, screen recording, code snippet

Regular page without Lightbox:
image

Page with "expand on click":
image

Click on grey area opens image at the bottom of the page:
image

Environment info

  • WordPress: 6.4-beta1-56730
  • PHP: 8.1.23
  • Server: nginx/1.16.0
  • Database: mysqli (Server: 8.0.16 / Client: 8.1.23)
  • Browser: Chrome 117.0.0.0 (Windows 10/11)
  • Theme: Twenty Twenty-Three 1.2
  • MU-Plugins: Keine aktiviert
  • Plugins:
    • WordPress Beta Tester 3.5.4

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

Activity

  1. added
    [Type] Bug
    [Block] Image
    [Feature] Interactivity API
    on Sep 27, 2023
  2. jordesign commented on Sep 27, 2023

    @jordesign
    Contributor

    Hey @burnuser - I'd seen that general layout error in testing 6.2 as well - does it (or the lightbox issue) go away when the Gutenberg plugin is installed and active?

  3. jordesign commented on Sep 27, 2023

    @jordesign
    Contributor

    In my testing of the beta - I'm getting the expand/lightbox operating as expected - so I wonder if there's something else at play here. We may need to narrow things down further.

  4. added
    Needs Testing
    on Sep 27, 2023
  5. burnuser commented on Sep 28, 2023

    @burnuser
    Author

    @jordesign

    1.) Test with Gutenberg to Beta added and activated:
    a) general layoutbug is gone
    b) lightbox works

    Gutenberg deactivated (Beta alone):
    both errors are back again

    2.) Test with fresh environment: WP 6.3.1 + Gutenberg:
    no layoutbug + lightbox works

    Result: problem must be located in Beta

  6. michalczaplinski commented on Sep 28, 2023

    @michalczaplinski
    Contributor
  7. artemiomorales commented on Sep 28, 2023

    @artemiomorales
    Contributor

    Has anyone else been able to reproduce this? I'm unable to replicate.

    CC
    @burnuser
    @michalczaplinski

  8. carolinan commented on Sep 29, 2023

    @carolinan
    Contributor

    While not a long-term solution, does it work if you set define( 'SCRIPT_DEBUG', true ); in wp-config?

  9. burnuser commented on Sep 29, 2023

    @burnuser
    Author

    Test with local WP environments (which I - and many other people around the world - use for development and testing) - using http:
    Laragon: https://laragon.org/
    Local: https://localwp.com/
    => both show the described bugs

    Test with 2 Online environments - using https:
    InstaWP
    TasteWP
    => no bug visible

  10. changed the title [-]New Lightbox (expand on click) does not work in Beta 1[/-] [+]New Lightbox (expand on click) does not work in WordPress 6.4 Beta 1[/+] on Sep 29, 2023
  11. moved this from Triage to Needs Dev / Todo in WordPress 6.4 Editor Taskson Sep 30, 2023
  12. t-hamano commented on Oct 2, 2023

    @t-hamano
    Contributor

    Considering that this problem occurs on a site built on a local Windows OS machine, does not occur on a site built using InstaWP, etc., and the screenshot posted in the issue, it is the same as the problem reported in #54849. Therefore, I would like to close this issue.

    A description of the cause for this problem and a patch to resolve it can be found in this core ticket: https://core.trac.wordpress.org/ticket/59489

  13. moved this from Needs Dev / Todo to Done in WordPress 6.4 Editor Taskson Oct 2, 2023
  14. added
    [Type] Regression
    [Status] Duplicate
    OS Issues
    and removed
    Needs Testing
    [Block] Image
    [Feature] Interactivity API
    on Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS Issues[Status] Duplicate[Type] Bug[Type] Regression

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions