| 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 |
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
|
Owner: matt3o