Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49101

Android can't scroll after using $ionicScrollDelegate.scrollBottom(true)

$
0
0

@gregv wrote:

Here is my view:

 <ion-view view-title={{title}} >
        <ion-content class="has-subheader dark-bg" overflow-scroll="true" padding="true" delegate-handle="consoleScroll">
            <pre class="light">{{serial.output}}</pre>
        </ion-content>
        <ion-footer-bar class="bar-stable item-input-inset" keyboard-attach>
            <label class="item-input-wrapper">
                <input type="text"  ng-model="serial.input" placeholder="Enter Command Here" ng-trim="false"  my-enter="sendMessage()"/>
            </label>
            <button ng-click="sendMessage()"
                    class="button button-icon icon ion-android-send footer-btn"></button>
        </ion-footer-bar>
    </ion-view>

My controller will add more text to {{serial.output}} and then call $ionicScrollDelegate.scrollBottom(true) to automatically scroll to the bottom...problem is, the view refuses to scroll using your finger after that. Subsequent calls to scrollBottom work perfectly fine.

I'm currently testing this in android.

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49101

Trending Articles



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