Services Plugins FAQs

Detect scroll position in nested repeating group

Hi,

I purchased the RG scrolling position detector plugin. Is there any way to make it work inside a nested RG?

I.e. return the horizontal scroll position of a RG, that is nested within a larger vertically scrolling RG?

It seems to just return 0% across all instances.
Thanks

As an update - I have managed to get the plugin working on nested RGs on a test page, but can’t replicate it in my environment.

Is it likely to conflict with other scrolling plugins? i.e. Repeating Group to snap Plugin | Bubble?

Error report:
The plugin Detect Scroll Position for RG / element Detect Scroll On RG threw the following error: UnexpectedError Expected a number, but got a number (original data: null)
at new n (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/d4f3bcdc2288c3c407058fd7bd9ba12cc49f22e119a0f25888243ff3c409a308/xfalse/x15:6:2497274)
at K (https://dhtiece9044ep.cloudfront.net/package/run_debug_js/d4f3bcdc2288c3c407058fd7bd9ba12cc49f22e119a0f25888243ff3c409a308/xfalse/x15:6:973245) (please report this to the plugin author)

Hello, @t.james
Thanks for reaching out.

Firstly, please allow me to note that different plugins can conflict with each other, especially if you are using them with the same purpose in one group.

This error means that the plugin element was not defined. Please check the settings for the plugin element:


Make sure that you have indicated the correct Group ID:

image

In case you already checked them, but the plugin still doesn’t work, please share with me the screenshots of your current settings for the plugin element and Repeating Group.

Looking to hearing from you soon.
Best regards,

Thanks for the response Ecaterina,

I am using the DetectScroll element, to try and detect Horizontal scroll of a RG, that is nested inside another RG. Settings below:

The RG settings below:

With the element heriachy below:
Element List

I have also uninstalled all other plugings that i think may interfere, and am still seeing the error. The values returned by both element are 0s, if i point a text box to them.

Thanks for any thoughts you can provide.

Hi, just FYI - I have done some troubleshooting, and identified two elements that are causing an issue:

  1. a header image at the top of the page that is set to Y:-40
  2. The complex/nested serach condition feeding the top-level RG.

When i remove one/either of those things, the plugin works.
When i rebuild them, and have them on the page together the plugin breaks again.

Super super weird.

Hello, @t.james
Thanks for these details.

As it was mentioned in my previous message, that nested RG and plugins inside them could perform incorrectly.
The best solution for your case is to avoid using the nested Repeating Groups (with this plugin) or to remove one of the conditions, mentioned above. We suppose that the searching conditions of the parents RG indeed can influence.

Allow me to note that we deal only with the general support of our products and fixing the bugs, however, in your case, the issue was reproduced by the elements overlapping.

Please try to change the conditions, mentioned above, and give it a try one more time.
Best regards,