My favorites | Sign in
Project Home Downloads Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 44: Doesn't refresh when element created outside the dom
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  mat...@gmail.com


 
Reported by fred.ekr...@gmail.com, Jan 13, 2011
I have been creating the scroller/wrapper and then inserting to the dom after, when doing this iscroll doesn't notice the height of the element has changed

i added

that.element.addEventListener('DOMNodeInsertedIntoDocument', that, false);
where the subtree listener is added

and

case 'DOMNodeInsertedIntoDocument':
    that.refresh();

in the handler

and this fixed the problem
Jan 13, 2011
Project Member #1 mat...@gmail.com
thanks for the heads-up. I'll consider this for inclusion
Status: Accepted
Owner: matt3o

Powered by Google Project Hosting