How to disable scroll to top on ion-nav-bar?

Recently there’s a new (undocumented) feature which scrolls to top upon clicking the header-bar/nav-bar. It breaks my code. I have replaced the title with buttons in my navBar which no longer receive the tap event (which gets intercepted by the scroll to top thing).

How do I disable the scroll to top feature in my header bar/nav-bar?

Would appreciate some help here.

Short answer, no. You can go into the src files and remove the function if you really need it.

Thanks. It will be a headache to preserve these changes over upgrades, but it can’t be helped.

Meanwhile I think I’ll log a couple of issues on github - one for documentation and another to make this feature optional as it would be better if Ionic let me choose a behaviour than force it upon me.

Logged https://github.com/driftyco/ionic/issues/1453 and https://github.com/driftyco/ionic/issues/1454