Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49231

Strange behavior when using ion-card with ModalController

$
0
0

This strange behavior is really specific but I really want to fix it. My page structure is like:

  • <ion-card>s placed on the parent page (*ngFor)
  • a <p> tag is placed inside <ion-card-content>
  • when one <ion-card> is clicked, a modal will be shown

The strange behavior is, at the instance that the modal is about to show up, a margin-top of 20px is added to each of the paragraph tags and will be there forever, in which I have not set any related rule.

Anyone has an idea?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 49231

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>