Infinite scrolling: strange bug

I installed the woocommerce plugin Waiting list.

The first “page” display the right form of plugin, but the display is not set on the following pages when scrolling.

Here is the console:

The display is correct frontend when I unset the line:

.wcwl_hide, .wcwl_nojs {
   /* display: none!important; */

But when I try to insert some css, whatever setting I use for .wcwl_hide, it doesn’t work.

Environment info

  • WordPress version: 6.0.2
  • Gutenberg Plugin version: not installed
  • Cwicly Plugin version:
  • Cwicly Theme version: 1.0.3

In the fist time, I will try to set a button that opens a tooltit or a modal.

Hello @weedor,

I’m not familiar with this plugin.

If this is a JS injection, I’m not sure you’ll be able to get it to display as the plugin will have to have a specific function to be told to re-evaluate when Cwicly loads the next page.

I will keep you posted.

I installed the free version of Yith Waiting List and the notification is displayed correctly with infinite scrolling.
In a perfect world I would prefer to only use Woocommerce plugins but in this case I will make an exception.

Hi @weedor,

Thanks for letting me know.
Glad you have found a compromise.

I’ll try and take a look at this when I have time to see what’s going, but I do suspect it has something to do with JS, which we won’t be able to rectify on our side alone.

1 Like