M
M
Maxim Shadrin2018-03-06 13:58:19
css
Maxim Shadrin, 2018-03-06 13:58:19

Why is magnific popup not letting my form work?

Hello. There is a page: newversion.go-mf.ru/portfolio
When you click on any portfolio element in the block hidden on this page, the content is loaded by Ajax. Then this block is opened in a popup using magnific popup.
And since the magnifik does not know how to make a pop-up inside itself, then on the same main page there is also a form that opens by clicking on the "I want the same" button.
It is displayed on top of the pop-up stupidly because of the larger z-index.
But here's the problem, input focusing doesn't work, it's impossible to click on them. Can't enter anything. Moreover, the form obviously does not overlap anything, the close button and the send button work. And from the form, you can select the entire text.
The most interesting thing is that if you close the popup generated by the magnific popup (on the background), the form will immediately begin to respond. I can't figure out what's wrong here.
5a9e7439313eb847814529.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
T
ThunderCat, 2018-03-06
@ThunderCat

MP can change popups by clicking, nothing prevents opening another magnifier by clicking in it (the first one will close automatically) and by submitting the form, call the desired popup again.
example

M
Maxim Shadrin, 2018-03-10
@makc9I

Everything turned out to be banal. I moved the overlay form code inside the popup content instead of leaving it on the main page. Thus, I made it part of the magnific content, and now the form has become responsive to inputs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question