Forums › Forums › Search & Filter Pro › AJAX Infinite Scroll opens Toggle item
- This topic has 13 replies, 3 voices, and was last updated 3 years, 10 months ago by Ross.
-
Anonymous(Private) February 3, 2021 at 2:04 pm #275241
Hello!
I have setup a post loop with a toggle item and I am also using the infinite scroll option.
When the infinite scroll has loaded the next elements, strangely the toggle item of all the above loop entries are opened.Do you have any idea how to prevent this?
Can I sent you the access to this WP instance somehow privately?
Thanks very much!
Ross Moderator(Private) February 3, 2021 at 6:33 pm #275257Hi there
I would say, there could be conflict with your custom code, or a conflict with Oxygen.
Can you remove your custom code (everything you shared above), and then we can see if it working?
Thanks
Anonymous(Private) February 4, 2021 at 9:25 am #275287Hi Ross!
Thanks for your message.I have tried to remove the script above. Then the Lightbox does not work anymore after new items have been loaded into. The toggle is still open on the older ones, when new ones have been loaded into.
I have now disabled the script for testing.
Ross Moderator(Private) February 5, 2021 at 4:43 pm #275383Hi Sebastian
To be clear, you are saying when you remove your scripts, that the accodian (that should be closed) still open when triggering an infinite scroll?
That’s what I see at the link.
I’m really not too familiar with Oxygen to know how it works with regard the way it is loaded, but it seems some layout script is firing causing this effect.
Can you also confirm for me, this is a built in feature of Oxygen and not coming from another plugin?
Thanks
-
AuthorPosts