Skip to content

ionHeaderBar: Do not scroll the ScrollView if the no-tap-scroll attribute is set#4466

Closed
bramus wants to merge 1 commit intoionic-team:masterfrom
bramus:patch-headerbar-notapscroll
Closed

ionHeaderBar: Do not scroll the ScrollView if the no-tap-scroll attribute is set#4466
bramus wants to merge 1 commit intoionic-team:masterfrom
bramus:patch-headerbar-notapscroll

Conversation

@bramus
Copy link
Copy Markdown

@bramus bramus commented Oct 4, 2015

In some case one does not want the ScrollView to scroll to the top of the list when tapping the title of the headerbar. Think of scenarios where the h1 would link to a different view, or trigger a modal being shown.

Instead of checking for all possible attributes that could trigger this (such as ui-sref,href,ng-click), a genericno-tap-scroll` would also afford this. This PR introduces the latter.

@mlynch mlynch closed this in cfa8042 Dec 6, 2015
@mlynch
Copy link
Copy Markdown
Contributor

mlynch commented Dec 6, 2015

Thanks, I decided to just remove this functionality completely and, instead, listen for the native statusTap that comes with the actual statusbar plugin from cordova.

@mlynch mlynch added this to the 1.2 milestone Dec 6, 2015
@bramus
Copy link
Copy Markdown
Author

bramus commented Dec 6, 2015

👍

@armamut
Copy link
Copy Markdown

armamut commented Jan 18, 2016

unfortunately, this fix makes the header-bar buggy. I think previous version was better for UX :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants