Meteor-Community-Packages / meteor-tabular

Reactive datatables for large or small datasets
https://packosphere.com/aldeed/tabular
MIT License
363 stars 136 forks source link

Odd Rendering on Production #404

Open ghost opened 7 years ago

ghost commented 7 years ago

Great plugin!

I am seeing really odd rendering when pushing my app to Galaxy. During development everything renders and displays as expected. When I push my app to Galaxy it seems like the template is getting rendered multiple times.

Any thoughts?

image

aldeed commented 7 years ago

@tcollins590 Don't use Galaxy? 😉

It's hard to think why the server would impact anything, other than something to do with the speed of loading data, or some extra conflicting code that Galaxy injects maybe. The screen shot makes me think possibly an issue with DataTables rather than Tabular.

One thing you could try is adding a few normal DataTables to a page, maybe one with local data and one that uses ajax loading from a server. If either of those break, then you've narrowed it down to a DataTables issue. If not, then probably a Tabular or Blaze issue.

For a workaround, maybe calling $('table').DataTable().ajax.reload(null, true) or $('table').DataTable().draw() after the table initially loads would fix it.