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

Scrollable ion-content inside a non-scrollable ion-content does not scroll. #1421

Closed
begrossi opened this issue May 17, 2014 · 2 comments
Closed

Comments

@begrossi
Copy link

I use some views and subviews (a tab bar inside other tab bar), and the first one has an and then a subview with a inside.

But the scrolling one does not enable scroll because of this test at ionContent directive:
if ($scope.scroll === "false") { <---- here $scope.scroll is false due to first ioncontent
//do nothing
} else if(attr.overflowScroll === "true") {
$element.addClass('overflow-scroll');
}

It can be fixed changing the test to if (attr.scroll === "false")...

@ajoslin
Copy link
Contributor

ajoslin commented May 19, 2014

Good point @begrossi, fixing.

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 6, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants