Skip to main content

responsive_lightbox

Description

Makes lightbox responsive on small screens

responsive_lightbox: boolean

Example

scheduler.config.responsive_lightbox = true;

Default value: false

Details

When this config is enabled (by default it's not), the lightbox will have an additional .dhx_cal_light_responsive CSS class.

All built-in skins of the scheduler have predefined media queries that make the lightbox adaptive on smaller screens, which means that:

  • the lightbox will occupy the whole screen on a mobile device
  • all labels and controls should be sized appropriately to the screen size

lightbox_responsive

If you want to enable this behavior, you can switch the config on like this:

scheduler.config.responsive_lightbox = true;
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.