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

popover positioning near bottom only works once #15331

Closed
A-Industry opened this issue Aug 25, 2018 · 3 comments
Closed

popover positioning near bottom only works once #15331

A-Industry opened this issue Aug 25, 2018 · 3 comments
Assignees

Comments

@A-Industry
Copy link

Bug Report

Ionic Info

Ionic:

   ionic (Ionic CLI)          : 4.1.1 (/usr/local/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.3
   @angular-devkit/core       : 0.7.0-rc.3
   @angular-devkit/schematics : 0.7.0-rc.3
   @angular/cli               : 6.0.8
   @ionic/ng-toolkit          : 1.0.0
   @ionic/schematics-angular  : 1.0.0

Capacitor:

   capacitor (Capacitor CLI) : 1.0.0-beta.7
   @capacitor/core           : 1.0.0-beta.7

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   NodeJS : v8.10.0 (/usr/local/Cellar/node@8/8.10.0/bin/node)
   npm    : 6.4.0
   OS     : macOS High Sierra
   Xcode  : Xcode 9.3 Build version 9E145

Describe the Bug
The popover appears at the correct position the first time (although without arrow), all following clicks result in popover being shown mostly below the viewport. See gif for unexpected behaviour:

screen recording 2018-08-25 at 10 32 pm

Expected Behavior
I would expect the popover to appear at the same position every time.

Additional Context
I suspect the containing HTML element has become longer after showing the popover once, therefore allowing the popover to show under the icon the next time.

@ionitron-bot ionitron-bot bot added the triage label Aug 25, 2018
@A-Industry
Copy link
Author

The bottom popover in the documentation has the same problem, so easily reproducible: https://beta.ionicframework.com/docs/api/popover

@ionitron-bot ionitron-bot bot removed the triage label Aug 26, 2018
@bleuscyther
Copy link

related: #15237

@manucorporat manucorporat self-assigned this Sep 14, 2018
@ionitron-bot
Copy link

ionitron-bot bot commented Oct 14, 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 Oct 14, 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

3 participants