Clicking Lightbox on One Breakpoint Force Me to Smaller Breakpoint

Question:
[Is it normal behavior if you select to edit a lightbox in a certain breakpoint and it automatically switches you to a different breakpoint (default desktop)? Or is this a bug?]

Product:
[Wix Studio]

What are you trying to achieve:
[I am trying to edit the size/fit of a lightbox in a larger breakpoint that I created. When I am on the large breakpoint and select the ‘lightbox’, Studio switches me to the default desktop breakpoint…thus I can not edit the look/fit of the lightbox for larger screens]

What have you already tried:
[Basic troubleshooting, skimming the forums]

Additional information:

  1. My bigger breakpoint

  2. When I click the lightbox to edit it in the larger breakpoint, it reverts me to the 1280px breakpoint. I need the breakpoint to stay at the larger screen to edit the fit on larger screens

Truly appreciate any feedback

God Bless

SkreenGG

Greetings Wixers

By God I have been able to create a workaround to my issue.

[Workaround]
Instead of using a ‘lightbox’ element from Wix Studio, simply create your own ‘lightbox’. I made a container element and changed the color to black and set the opacity to like 70%; then I added another container on top of that with all the info I need to place in my version of the lightbox.

Next, I grouped all my components into a container and set the state to ‘hidden’ by default.

Next I added code on a trigger button (in my case and in the screenshot, the 'Version: 0.3) text that simply ‘Show()’ the container onClick.

export function version_click(event) 
{
      $w('#verContain').show("fade");
}

Finally I added a ‘X’ button in the container that ‘Hide()’ onClick.

export function exitBox_click(event) 
{
    $w('#verContain').hide();
}

Bam… a homemade lightbox that works well on the larger screen size breakpoints.

God Bless

SkreenGG

1 Like

Greetings

Just want to reopen this to see if there has been any fix. I would really like to use a lightbox as intended however, it simply does not work on any breakpoint bigger then the default. :frowning: I can’t be the only one in the Wix universe that tries to use a lightbox on a breakpoint bigger then the default.

Guess I will submit a bug report and hope that it’s something that is fixed soon :frowning:

SkreenGG