ionic-team / ionic-v3

The repo for Ionic 3.x. For the latest version of Ionic, please see https://github.com/ionic-team/ionic
Other
128 stars 85 forks source link

Popover doesn't change position on Screen Orentation Change if kept open #167

Open ionitron-bot[bot] opened 5 years ago

ionitron-bot[bot] commented 5 years ago

Original issue by @mayurdhanokar8527 on 2017-01-23T05:23:54Z

Hi

I am using ionic Popover but seems to be not working well on screen orientation change. I tried in android as well as ios platforms but the css-left does not change on screen orientation change for the Popover's native element.

Portrait mode- when a Popover is opened

img1

Landscape mode - it appears un-responsive. css-left doesnt change

img2

If Popover is opened in landscape mode

img3

Now on changing orientaion to Portrait mode- Popover goes out of the screen

img4

Overall it seems that when a Popover is opened and once the css-left style is set it doesnt change on Screen Orentation.

Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.4 Ionic CLI Version: 2.1.14 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.47 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v6.9.1 Xcode version: Not installed

NiebieskiMak commented 4 years ago

I think it is still present in ionic 4. If you change orientation, popover should reanimate.

ryaa commented 2 years ago

The problem still exists in the latest ionic 5.5.4. Are there any plans to fix it? Is there a ticket for this in ionic 5 repo?