Skip to content

Position issue in Firefox when reopen a video lightcase #178

@aquelfulano

Description

@aquelfulano

Hi,

Thanks a lot for the plugin.

I've just experienced an issue with the lightcase when I use the Firefox browser.

It happens when I display a video in the lightcase (I only tried with Youtube videos), then I close the window and I reopen a new one video in the same page.
What happens is that the margin-top of the #lightcase-case element in the css inline style is set to 0 (margin-top: 0) instead of the regular autocalculated margin-top.
If I resize the viewport, then happens the recalculation and the issue is solved. But if I just reopen a new video lightcase, this is positioned in a wrong place.
I only have experienced in Firefox (I've tried Chrome, Safari and Edge), but is disturbing me to get this wrong position in this very foreseeable behavior in my page.
You can try this issue in the next address: https://marinamunoz.es/videos/

I guess maybe I can do something with this function:
lightcase.resize();
to solve that, but I dont find the way and I need some help at this point.

Thanks a lot for your help and very thanks a lot for the plugin.

I will very appreciate any kind of help.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions