Skip Navigation

[Resolved] Listings overlap when cache is cleared

This support ticket is created 2 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 12 replies, has 2 voices.

Last updated by Minesh 2 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#2455813

I am trying to:
See all my listings clearly

Link to a page where the issue can be seen:
hidden link

I expected to see:
The listings with some padding around each.

Instead, I got:
Several listings are overlapping on the bottom covering up the important details. When I refresh the page, this problem gets fixed, however my website users won't know to do the same and of course it is very inconvenient. I've seen this 'bug' ever since I began using Toolset, but I haven't reported it until now.

Please help!
-Zeb

#2456035

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I tried to load the page you shared but I do not see any listing is overlapping each other. Can you please tell me what browser you were using and what exact steps I will require to follow to see the issue?

#2456557
2-Firefox.png
1-Chrome.png

Both Firefox and Chrome (both with latest updates) are showing this problem. Safari is not however.
No special steps needed, I simply load any page where a Toolset view is in operation, and my listings are crowding eachother, typically near the bottom of the list.

I hope we can find a solution!

#2458237

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now: hidden link

I've disabled the cashing for the "Arts Culture-1" view - Can you please confirm it works as expected now.

#2458633
Firefox.png
Chrome.png

Thanks for the effort - the problem still persists however.
Here, I've taken a screenshot from both Firefox and Chrome. *attached

When I refresh the page in both browsers, the problem is gone!! Hopefully this bug can be fixed soon.

#2460543

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now and confirm if its working as expected:
- hidden link

I see you are using the cache and performance plugins, please try to delete the cache and then run a check.

#2461143

Hmmm, I might be wrong about the cache being the issue. The main problem is upon first load of pages using the toolset view, this 'crowding' occurs and listing details get obscured/hidden.

Yes, when I hit the 'clear cache' button the page reloads and the problem is fixed. But when I go into incognito mode and load the page the problem persists. When I act as a new user from other devices using Chrome and Firefox, the problem persists. Thankfully when using Safari there is no issue. But this leads me to think something in Toolset needs to be fixed to work properly with all the major browsers.

Still needing a fix please!

#2461407

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

This is really strange.

Can I have duplicator copy of your site so that I can deploy this on my local server and dig this further.

More info:
- https://toolset.com/faq/provide-supporters-copy-site/

#2463197
#2466873

Please help,
This issue is still not resolved, and it is not just this one website using Toolset where this problem is seen.
I also have this site with the same issue: hidden link

I hope we can fix this

#2467363

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

As I was not able to debut it on the test site you shared, I've installed the ALL in One WP Migration plugin and I have installed in on my local machine. Still this works sometimes, I will try to dig it bit deeper and get in touch with you as soon as possible.

Please hold on for further updates.

#2467713

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

It seems that there is a conflict between lazy-load images and masonry grid layout. The thing is that you are using masonry layout to display the grid and it requires JS to calculate the positions.

Masonry grid layout can't calculate the correct heights when the images haven't been loaded yet. Scroll down the page, the images get loaded, and then something like opening the dev tools triggers recalculating the positions, which fixed it automatically or if you refresh the page.

To ensure that it's the conflict between lazy-load image and masonry grid layout, what if you try to add the following line of code to your current theme's functions.php file:

add_filter( 'wp_lazy_loading_enabled', '__return_false' );

Do you see it working as expected?

#2470103

It seems better! It's not 100% consistent - but I do see an improvement on the problem 🙂

#2470291

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

That is the only solution/workaround I've to offer at the moment.

The reason I already shared:
Masonry grid layout can't calculate the correct heights when the images haven't been loaded yet.