Tables not loading inside an Elementor Toggle widget
-
Hello!
We discovered that the tables intermittently do not load when added in an Elementor Toggle widget.
But if you add another instance of a table (the same or a different one) in other part of the page, even inside an Elementor Shortcode widget, the table(s) inside the Toggle widget load correctly.
This is definitely a javascript sync issue between Elementor and Ninja Tables. My question is if there is an API to force the tables to load “on demand”, this way we could add a javascript like this:
$( document ).on( 'toggle_widget_totally_loaded', function() { NinjaTables.init(); } );Or even better, if you could replicate the issue and release a compatibility fix. These are the steps to replicate the issue:
- Add a Toggle widget to your Elementor page.
- Add one or more Ninja Tables shortcodes inside the Toggle.
- Save your page and go to view the page.
- The tables should load or not, try refreshing several times and find out that they load only a few times.
As mentioned before, we found a temporal workaround, but it is definitely not a good solution because it affects performance:
- Go to edit your page.
- Now add a new Shortcode widget.
- Add a new Ninja Tables shortcode to that widget. It can be the same or a different table to the ones you added in the Toggle widget.
- Save your changes and go to view the page.
- The tables will load every time! Try refreshing.
I hope you can fix this compatibility issue, or at least let us know if there is a Javascript API to “init again” the tables. I searched in the documentation but didn’t find any javascript methods or events.
Thank you so much in advanced!
The topic ‘Tables not loading inside an Elementor Toggle widget’ is closed to new replies.