Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from
Closed

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

wants to merge 1 commit into from

Conversation

bramus
Copy link

@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
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
Author

bramus commented Dec 6, 2015

👍

@armamut
Copy link

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