-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unscrollbar was deleting text and doubling content #13
base: master
Are you sure you want to change the base?
Conversation
…ing except text nodes, but including children of children. So all text was missing while other elements where doubled.
…got attached to the root pane.
The jQuery documentation says: "To avoid memory leaks, jQuery removes other constructs such as data and event handlers from the child elements before removing the elements themselves."
Just got bitten by this too: |
I don't have anything in mind, but I think .children() does not copy text nodes. That's why I use .content(). Let me if I miss something. |
You are right of course: you need to use |
… by wagich. Revert "In case of nested scrollbar-panes the content of all scrollbar-panes got attached to the root pane." This reverts commit d80ac1d.
You are right. Your approach should fix the issue and looks a lot cleaner. I pushed the changes to my repository. |
The unscrollbar function wasn't working correctly. It fetched everything except text nodes, but including children of children. So all text was missing while other elements where doubled.