Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Showing a new taller div causes ion-content to not scroll to bottom

$
0
0

@tones411 wrote:

My ion-content tag starts out with some html elements inside. When a certain action is performed, some more content appears using the ng-if logic around another div.

The problem is that once that new div shows up, which is taller than the original content, then the ion-content will not scroll to the bottom of the page. It's like it doesn't realize that there is now more content available than the original content size.

Can I call a javascript function to tell it to recalculate it's scrollable height?

The open tag looks like this:

<ion-content class="padding">

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>