Closed pengying closed 8 years ago
@pengying in this test I don't see the issue you describe http://jsbin.com/bibisey/2/edit?html,output Can you provide an example showing the issue?
Yeah it's actually not modifying the size of the dialog, it's overflowing it.
Whoa that's how you get elements working in jsbin. http://jsbin.com/fiforizijo/edit?html,output
@pengying all you need is apply the mixin :)
http://jsbin.com/pugukiw/2/edit?html,output
I think your use case is specific (not everyone sets content to position: absolute
), so there's no need for .scrollable
to have position: relative
. Closing this
Ah yeah you're right.
Description
Expected: Absolute element calculates position/height relative to inner div:
Actual: Absolute element calculate position/height relative to paper-dialog-scrollable
Live Demo
N/A
Steps to reproduce
Add position:relative to #scrollable
Browsers Affected