Frank7390035
Posts: 0
Joined: Thu Feb 19, 2015 1:37 am

height of scrollable element

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

height of scrollable element

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

Frank7390035
Posts: 0
Joined: Thu Feb 19, 2015 1:37 am

height of scrollable element

thanks! solved

Return to “Issues”