@chrisbenseler wrote:
I have a Modal page:
import {Page, ViewController, NavParams} from 'ionic-framework/ionic'; @Page({ templateUrl: 'build/pages/tosmodal/tosmodal.html' }) export class TOSModal { static get parameters() { return [[NavParams], [ViewController]]; } constructor(navParams, viewCtrl) { this.data = navParams.data; this.viewCtrl = viewCtrl; } close() { this.viewCtrl.dismiss(); } }
when the close() is called, the modal is dismissed but the previous page doesn't appear. To the element, a display:none is added:
ion-page { display: none; }
Am I missing something? Maybe in the onDismiss method?
Posts: 1
Participants: 1