Hi, thanks for the clarification. The priority is for the lightbox to be displayed properly on different devices (smartphone, tablet, desktop, etc.). Live resizing of the window is only possible on desktop browsers (i.e. not on mobile devices), and even then, is not a standard use-case.
Live adjustments are nice, but unlike static blocks of text or images on a page, a lightbox floating above a page’s content is a bit more complex as more variables need to be taken into account when determining layout, size, position, etc. For one, this would require additional JavaScript to run during a page resize, which could affect performance. Instead, SLB limits intensive calculations to keep performance high, and makes sure that the lightbox is displayed appropriately for the browser’s size each time it is opened.
SLB’s default themes are continually developed, so while the priority will always be standard use-cases and performance, visual tweaks such as live-resizing may be included in a future update.
-
This reply was modified 8 years, 5 months ago by
Archetyped.