javascript - How to keep scroll position even after hide show item within form in extjs? -
i'm having issue jumping scroll bar .i have logic show hide section within form dynamically. whenever show sections , scroll downwards lastly section within form , 1 time again dynamically hide first 2 section scroll jump , 1 time again set field on was.
actually working setting focus 1 time again same field was, moment feels scroll jumping , 1 time again coming due hide/show logic.i have used ext.suspendlayouts() , ext.resumelayouts() within show/hide code, still seeing little jumping moment of scroll bar. missing ?
add line after show sections.
document.getelementbyid('id of section want scroll to').scrollintoview(); javascript jquery css extjs scrollbar
No comments:
Post a Comment