Closed halloweenman closed 6 years ago
If you move <div style="height: 100%; overflow: auto;">
so that it is before the paper-tabs
tag then scroll behaviour on mobile devices does not function correctly. When scrolling down it keeps resetting back to the top.
Your scroller div is 100% the height of its parent, but adding paper-tabs to that would certainly make the total contents of app-drawer over 100%. That is to say, the scroller div needs to be less than 100% height (assuming you don't want the tabs to scroll with the content). Consider using flexbox to size the scroller div:
<app-drawer>
<div style="height: 100%; display: flex; flex-direction: column">
<paper-tabs>...</paper-tabs>
<div style="flex: 1; overflow: auto">
scroll contents....
</div>
</div>
</app-drawer>
Thanks, much appreciated.
Description
When making the contents of the drawer scrollable and the div content wrapper contains paper-tabs then some overflowed content is hidden and is not visible even when scrolled to bottom. In the code below, it's not possible for END text to be visible on screen when scrolling. Seems to be an issue related to height, height of paper-tabs pushes out bottom of div conten.
Expected outcome
Would expect to scroll start to end
Actual outcome
Unable to scroll to end as all content is not visible.
Browsers Affected
] IE 10