✅ 🐞 Bug Report: Video lightbox gets the wrong aspect ratio when more then one video widget is used on the same page - [ED-10146] #21649
Labels
bug
Indicates a bug with one or multiple components.
component/lightbox
References any instance and component of Elementor’s Lightbox feature.
mod*
solved
Indicates that an Issue has been Solved, or a Feature Request has been Released.
status/merged
Indicates when a Pull Request has been merged to a Release.
type/styles
Indicates when a topic is related to the styles or design of a component.
widget/video
References the Video widget.
Milestone
Prerequisites
Description
The problem is caused by the .elementor-aspect-ratio-class.
Each dialog widget should have only one .elementor-aspect-ratio class to set the aspect ratio. But in some cases there are two or more of them, so they overwrite each other. This leads to an incorrect aspect ratio of the lightbox video for some videos. In fact, the videos that are clicked second or third get the aspect ratio of the video that was clicked first. It shouldn't be like this!
Steps to reproduce
build it
try it
Isolating the problem
System Info
System Info
The text was updated successfully, but these errors were encountered: