Angular Material Dialog - opens 2 times in Android


#1

Any using Angular Material Dialog?

https://material.angularjs.org/#/demo/material.components.dialog

In Android the dialog opens 2 times …

Any Solution?

Thanks


#2

Could you post a codepen example?


#3

In Chrome works as expected … but not in Android

Testing in a S4 with Android Lollilop

The Code

$mdDialog.show(
                $mdDialog.alert()
                .title('Titulo')
                .content('Mensagem')
                .ok('OK')
        
            );

#4

Is this using only angular material or does this use ionic too?


#5

The app is made with Ionic. i am integration Angular Material in this app. All works great except this message box.

Using inside of a controller.

.controller('LoginCtrl', function ($scope, $ionicSideMenuDelegate, $ionicNavBarDelegate, $rootScope, $ionicLoading, $mdDialog) {

I run the message box inside of this controller


#6

Any update? You are using this message in Ionic View.

It is possible to send that piece of code?

Thanks


#7

All works great

How did you make the scroll work?

Thanks


#8

I don´t have problems with scroll. The code is “normal”.