Page 1 of 1

height of scrollable element

Posted: Wed Mar 14, 2018 12:41 am
by Frank7390035

Hello,

I have a modal that contains a scrollable element. This scrollable element contains an HTML component with content that should scroll vertically.

With bouncing active I can scroll a bit but cannot see the full content below.
If I set height:500px on the html component, I am able to scroll more through the document.
If the height is too high (probably larger than the dimension of the document displayed) I can't scroll.

It looks like the scrollable element doesn't know the size of the content of the HTML component when it's loaded. I am loading the content of the HTML via a custom directive "bind-html-compile"

Can you kindly help find ways to set the height of the scrollable component correctly so all content can properly scoll?

Thanks,
Frank


height of scrollable element

Posted: Thu Mar 15, 2018 4:35 pm
by Serhii Kulibaba

Hello Frank,

Please clarify, do you need to scroll the content of the HTML component? You can add the CSS property "overflow:scroll" to that component


height of scrollable element

Posted: Sun Mar 18, 2018 5:26 pm
by Frank7390035

thanks! solved