scrollY: "100%" not working

scrollY: "100%" not working

JumblegreenJumblegreen Posts: 1Questions: 0Answers: 0
edited September 2015 in Scroller

I want a table resize to its parent div.
The parent div has style.position = 'absolute'.

Using a fixed size (100px, 30em etc...) works as expected but whatever I do when I specify scrollY: "100% the table ignores the height of the containing div and overruns down off the page.

I replaced the table with a test div and it works with style.height = '100%' so I don't think its anything weird with the containing div.

I am building the DOM through javascript.

I have been banging my head against this all morning.

bookmarklet - evutik

here is a jsfiddle which reproduces the problem - https://jsfiddle.net/wqzf5q3h/

thanks in advance

Replies

  • allanallan Posts: 63,489Questions: 1Answers: 10,470 Site admin

    Sent you a PM about this.

This discussion has been closed.