Modal extending off screen with slider in it

I created a modal using the Modal element, and in that modal I placed a slider element. When pressing the button to trigger the modal to open, the bottom of the modal extends off the screen for a little bit but will snap back after you looked through a few slides on the slider. When I removed the slider from the modal, the modal did not extend off the screen.

You can view the problem here: https://crjheavytrucks.com/ and clicking the black button labeled “We Export Worldwide”.

I added my login information if you would like to take a look.

Hello @turbineflats,

I have checked your page and I am seeing this:

Did you mean that the images are displayed within the Modal Content? You may need to adjust the Gap of each slides.

Best Regards.

No that is not what I mean. The bottom of the modal goes off screen, but it’s interesting that you aren’t seeing it replicated on your side. This is what I see (see attached photo):

I was reading through another forum topic that someone created in regards to their sliders doing the same thing, their issue was caused by Jetpack. I just went through my plugins and it looks like the issue was solved by deactivating the plugin Smush. Which isn’t necessarily great, because I"d like to use that plugin, but looks like my problem is fixed!

Hey @turbineflats,

It is good to know that your issue has been fixed already.

Cheers.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.