-
Notifications
You must be signed in to change notification settings - Fork 15
Scrolling inside ace-element hangs Chrome #15
Comments
This seems to only happen when ShadowDOMPolyfill is in use. |
Found it: ace/layer/text $renderLinesFragement depends on childNodes being a live nodelist. https://github.com/ajaxorg/ace/blob/master/lib/ace/layer/text.js#L367 Because @arv Any thoughts? |
We could make length a getter that triggers invalidation every time. If that gets too slow I would have a dirty bit on the parent node and set that any time a child is added or removed. |
If I replace the while loop with: |
I've tried the
ace-element
implementation and chrome completely freezes when scrolling inside the editor. I haven't been able to figure out why yet.I played around a bit, and found out that ace always hangs on scroll, when polymer is included in the page.
The text was updated successfully, but these errors were encountered: