question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ionic 5: Modal over Modal (iOS13 Style): Border radius missing

See original GitHub issue

Bug Report

Ionic version:

[x] 5.x

Current behavior:

When i create a Modal from a Modal with presentingElement: this.modalCtrl.getTop(), the first Modal, that is in the Background, don’t get a Class to have rounded corners. The inner Modal gets a Class that sets:

border-top-left-radius: 10px;
border-top-right-radius: 10px;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;

Also when i set the presenting Element to the IonRouterOutlet it works and it has rounded corners.

Expected behavior:

I think the behavior should be that the presenting Element always should have rounded corners. Even when it is an other Modal.

Other information:

Ionic info:

Ionic:

   Ionic CLI                     : 6.1.0 (/usr/local/lib/node_modules/@ionic/cli)
   Ionic Framework               : @ionic/angular 5.0.0
   @angular-devkit/build-angular : 0.803.25
   @angular-devkit/schematics    : 8.3.25
   @angular/cli                  : 8.3.25
   @ionic/angular-toolkit        : 2.1.2

Cordova:

   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 5.1.1
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 53 other plugins)

Utility:

   cordova-res (update available: 0.9.0) : 0.8.1
   native-run                            : 0.3.0

System:

   Android SDK Tools : 25.2.3 (/Users/hanskrywalsky/Library/Android/sdk)
   ios-deploy        : 1.10.0
   ios-sim           : 8.0.2
   NodeJS            : v10.16.3 (/usr/local/bin/node)
   npm               : 6.13.7
   OS                : macOS Catalina
   Xcode             : Xcode 11.3.1 Build version 11C504

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
liamdebeasicommented, Feb 13, 2020

Thanks for the issue. This has been resolved via https://github.com/ionic-team/ionic/pull/20476 and will be available in an upcoming release of Ionic Framework.

1reaction
EinfachHanscommented, Feb 13, 2020

@liamdebeasi yeah resolved! 💪🏼

Read more comments on GitHub >

github_iconTop Results From Across the Web

ionic 5: Modal over Modal (iOS13 Style): Border radius ...
When i create a Modal from a Modal with presentingElement: this.modalCtrl.getTop() , the first Modal, that is in the Background, don't get a ......
Read more >
Ionic 5: Modal over modal is missing ion-backdrop
My app opens a modal page with custom css to make it full screen. I can then open another normal modal (but not...
Read more >
Ionic 5 Modal over modal is missing ion-backdrop
My app opens a modal page with custom css to make it full screen. I can then open another normal modal (but not...
Read more >
Changelog - Pintura Image Editor - PQINA
Fix issue where markup editor style controls would not scroll on narrow viewports. Fix issue where corner radius control would show for stickers....
Read more >
How to Customise Ionic 6 Modal and Popover - YouTube
In Ionic 6 the styling of modals and popovers has changed, because they are now using Shadow DOM. Follow this quick win to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found