-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Nightly: Broken popover when scope is set #2724
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
Comments
Here's a sample that shows that adjusting the opacity solves the display problem. However, it shows the popover is not positioning itself properly near the target element: CodePen Sample : http://codepen.io/calendee/pen/MYyzdX |
Maybe that was a quick-fix. Now the original Ionic codepen sample doesn't work - http://codepen.io/ionic/pen/GpCst Perhaps part of the confusion is that the popover API can/(could?) be used in two slightly different ways, that is according to docs, official samples etc.: $ionicPopover.fromTemplateUrl('templates/popover.html', function(popover) {
$scope.popover = popover;
}); or $ionicPopover.fromTemplateUrl('templates/popover.html', {
scope : $scope,
}).then( function(popover) {
$scope.popover = popover;
}); |
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. |
See the Pen Fork, Broken Popover: Nightly by Zarko Hristovski (@zarko) on CodePen.
<script async src="//assets.codepen.io/assets/embed/ei.js"></script>The text was updated successfully, but these errors were encountered: