Orbit causing page to jump #12362
Unanswered
macgraphic
asked this question in
Q&A
Replies: 1 comment
-
Do you have a URL or Codepen that illustrates the issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Working on a custom block, within a custom WordPress theme.
Within the block I have ACF fields that allow site editor to select images & enter content for use in the Orbit slide.
However, when on the front end of the site, on the page, when the slide changes, it causes the pages to scroll up/down to bring the orbit container into the viewport.
Not noticed this before with Orbit, is there anything I can do to prevent this from happening?
Here's my code from the block:
https://gist.github.com/macgraphic/e93a44ab6430a0bfc79ec17010ded500
Beta Was this translation helpful? Give feedback.
All reactions