horizontal scroll not working | WordPress.org

Hi!

Thanks for your post and sorry for the trouble!

The cause for this is some optimization of JavaScript files on the site, apparently from an over-aggressive optimization plugin (something with “mvt” in the name, it seems).

In particular, that plugin seems to change how the jQuery JavaScript library is loaded (it’s now “lazy-loaded”). However, that breaks the code of TablePress and other plugins so that you will need to turn that functionality off.

Regards,
Tobias

Hi Tobias,

thank you so much for that very fast reply. Appreciate it!

That mvt seems to be the theme optimization. I can exclude certain JS from from any deferment or minification performed by the theme. Can you maybe name the specific JS of table press that has to be excluded?

I have just noticed, that in Chrome, the table seems to be displayed correctly. Everything is working there. However in Firefox and Safari the table is overflowing, as described. Do you think an agressive optimization of JS can be the cause of this?

Edit: The table seems to be working in Chrome for https://www.oatsandcrumbs.com/haferflockenbrot/, but not for all the pages. Here it is not working: https://www.oatsandcrumbs.com/saftiger-haferflocken-kuchen-ohne-mehl/

Not sure whats the difference in those two..

Regards, Thomas

  • This reply was modified 4 hours, 47 minutes ago by thombien.

Hi,

For me, this is not working on Chrome either. The difference between the browsers likely is that you are logged-in into WordPress in Chrome. So, to test this, I recommend to always try a “private”/”incognito” browsing tab.

As for the files to exclude: Please exclude these three:

https://www.oatsandcrumbs.com/wp-includes/js/jquery/jquery.min.js
https://www.oatsandcrumbs.com/wp-includes/js/jquery/jquery-migrate.min.js
https://www.oatsandcrumbs.com/wp-content/plugins/tablepress/js/jquery.datatables.min.js

Regards,
Tobias

Thank you Tobias for the support and the great plugin!
Now everything works fine again 🙂

Regards, Thomas

Hi,

no problem, you are very welcome! 🙂 Good to hear that this helped!

Best wishes,
Tobias

P.S.: In case you haven’t, please rate TablePress in the plugin directory. Thanks!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer