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

Nightly: Broken popover when scope is set #2724

Closed
zarko-tg opened this issue Dec 15, 2014 · 3 comments
Closed

Nightly: Broken popover when scope is set #2724

zarko-tg opened this issue Dec 15, 2014 · 3 comments

Comments

@zarko-tg
Copy link

See the Pen Fork, Broken Popover: Nightly by Zarko Hristovski (@zarko) on CodePen.

<script async src="//assets.codepen.io/assets/embed/ei.js"></script>
@calendee
Copy link

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

@zarko-tg
Copy link
Author

Maybe that was a quick-fix. Now the original Ionic codepen sample doesn't work - http://codepen.io/ionic/pen/GpCst
http://forum.ionicframework.com/t/codepen-popover-example-issues/14181

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;
});

@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