0

With the following code:

Template.home.rendered = function() {
    $("#newsfeed").tinyscrollbar();
};

calling the plugin from this meteor packaging of tinyscrollbar

I get the following exception:

Exception from Deps afterFlush function
function: TypeError: Cannot read property 'offsetHeight' of undefined
    at Scrollbar.update

(a full trace is at this pastebin)

I will be happy to provide more information as needed!

blaineh
  • 2,263
  • 3
  • 28
  • 46

1 Answers1

0

Did you add all the required html to your page?

Baijs
  • 1,847
  • 3
  • 20
  • 35
  • I'm using Meteor, and I added everything as a package. This should have taken care of including everything. – blaineh Apr 20 '14 at 14:08
  • http://baijs.com/tinyscrollbar/ Look at the examples they need extra html to work. – Baijs Apr 21 '14 at 19:11