Answer the question
In order to leave comments, you need to log in
Why does the Popup window become transparent and overlap elements on the mobile version of the site?
Hello!
There is a site that is under development http://excursion.moskva
Expected behavior:
There are excursions on the site. Each tour can be ordered by clicking on the "Order a tour" button under the tour:
After clicking this button, this Popup-window appears:
Problem:
The problem manifests itself on mobile devices.
The bottom line is that a Popup-window appears on tefon, but with zero transparency , although opacity: 1 is strictly specified in css (I made sure of this by displaying debugging information about transparency alert()).
The problem is that after clicking the "order a tour" button in the mobile version of the browser, not a single button on the site works, because a transparent popup window appears on top of the entire site.
As a result of the problem:
When you try to click on the "order a tour" button, the keyboard is activated on the phone. The fact is that a transparent popup-window "hangs" over the entire site. And it turns out that the transparent input is exactly above that button.
Also, I can "blindly" click on the buttons in the same Popup-window. For example, if I poke the screen for a long time, then I can hit the close button of the Popup window and it will close.
What I did:
alert(getComputedStyle(popup).opacity)
document.querySelectorAll(".t-popup")[1]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question