$ionicHistory.goBack() won't remeber scroll position unless use css class"button"


#1
//no button css style
 <span class="step size-32 "  ng-click="goback()"><i class="icon ion-ios-arrow-left"></i></span> //back to  pre-view, ionic won't remember scroll position, it will scroll to the top


// has button css style
<span class=" button step size-32 "  ng-click="goback()"><i class="icon ion-ios-arrow-left"></i></span> // back to pre-view,  ionic remember scroll position, works fine

$ionicHistory.goBack() won’t remeber scroll position unless use css class"button", it’s weird
what should i do if i don’t want use the button css style, I really don’t like the button style, any help?


#2

to which button style you mean?


#3

css class, class=" button"