javascript - Firefox redraw very slow (5 secs) -


i'm developing lazy scroll table resizeable columns. retrieves data server if user scrolling position data not loaded yet. because want user able scroll million of rows, put 2 list of 32 items in dom. if once of these lists scrolls out-of-the-viewport, put on other side of visible list , refresh items.

this works great in chrome, firefox (on ubuntu linux) gives me headaches, redraws screen after 5 seconds instead of instantly.

does know why firefox behaves , maybe how fix/prevent this?

[edit] code finishes quickly, can see in console log actions. javascript places nodes in dom. when inspecting elements, properties ok, layout-calculation seems done , ok.

i try factor out specific code, works server generate settings , events. (i use wicket, , refresh each of 2 lists wicket ajax. wicket renderes html , replaces dom-entries). makes complicated.

the issue came form css setting. table had overflow:hidden setting. removing helped , resolved issue.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -