M
M
Maxymus19962018-03-12 01:10:33
JavaScript
Maxymus1996, 2018-03-12 01:10:33

How to pin modal area on mobile?

I use the magnific popup plugin for modals, on the desktop the page scrolls only in the modal window visibility area, but on the mobile this window can be scrolled up / down so that it is not visible. How to fix this problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxymus1996, 2018-03-12
@Maxymus1996

Found a solution, you need to enable the option fixedContentPos: true

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question