Responsive breaks jQuery positions
Hello,
I've got a little problem with select2 and jQuery datepicker (and I think with other jquery modules). If I set responsive ON jquery makes wrong calculations about, overall, the Top parameter. With select2 for example, the left param is ok but the top is calculated wrong and it depends on the scroll. If the element is closed to the bottom or to the top of the scroll when I open the select, the options get printed out of the screen, in a position higher than the select element. If the element is at the center of the scroll the position is quite correct but not perfect, often it puts options right over the select making it difficult to decide the wanted option.
If I set Responsive OFF then everything is ok, and also if I activate the Twenty seventeen theme, so I think the problem is not mine or of Visual composer. I tried to comment the responsive.css but it doesn't seem to be the problem.
Do you know any solution for this?
Thank you very much
Comments
Sorry but we do not know what might be happening, if it was also not working on another theme then it would be either your code or VC. Please send a link to your website, we will take a look.
thanks
If the solution you found is working then it should be fine.