L
L
lookingfor22020-04-25 20:16:36
JavaScript
lookingfor2, 2020-04-25 20:16:36

How to check if an object is in view?

The site has the smooth-scrollbar plugin (we change the scrolling behavior), and therefore I can’t track with the help of plugins such as wow, viewport.jquery, etc. whether the container is in the visibility zone and, accordingly, I can’t animate the desired div at the right time, when on this site - https://curenails.co/en-US/menus/facial everything works, although the scroll plugin is also installed

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Yarkov, 2020-04-25
@lookingfor2

Intersection Observer API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question