0
Events in jQuery
I have a container and a content, when using over container it's the offset of the container however when using over the content, it takes offset of the content... How I can use the "on" function for maintain the focus on the container offset property instead of taking content offset property. Ex: see the code https://sololearn.com/compiler-playground/WlGpHaO7ayX9/?ref=app
1 Odpowiedź
+ 3
Marco Cárdenas
how about this? you could just add a pointer-events:none;touch-action:none; to the #in so that it would be invisible to clicks.
https://sololearn.com/compiler-playground/W2pRDV3SEbfF/?ref=app