unexpected behavior while trying to use scrollTo after refreshColumns

snippet: https://snippet.webix.com/agei5wm7

When you try to reset your scrollState to the previous position after refreshColumns() using scrollTo(), it won't work. As a workaround you have to scroll to another position first.

Tagged:

Comments

  • looks like you have old version.
    versions higher than 5.3 do not have such behavior.

  • I'm using 6.1. Seems like it's a Chrome related issue. Works as expected in Firefox

  • yes, I've tried in Chrome now and saw this issue.
    try to use webix.delay
    webix.delay($$('table').scrollTo, $$('table'), [state.x, state.y]);

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!