No horizontal scrollbar after width changes

Hi,
I have a div within a template that changes its size on runtime but unfortunately the horizontal scrollbar does not appear.
Works great with vertical scrollbar.
See snippet here:https://snippet.webix.com/8svenbn5

Comments

  • Hi,

    There is a specific behaviour (feature) regarding the implementation of scrollbars.
    While the vertical scroll is based on corresponding CSS/HTML rules, the horizontal scrollbar depends on sizing logic of Webix components.
    Therefore, as changes of inner content do not trigger any event at the level of the Webix component, unfortunately, the template cannot automatically react to the changes of horizontal sizes inner HTML content.
    As a workaround, please call onAfterRender event manually to trigger the needed recalculation of scrollbar size:

    https://snippet.webix.com/2h0f6ci4

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!

In this Discussion