Page loading twice ?!? [resolved]


#1

Hello,
I’m in a big trouble with my app. I don’t understand why, my PhotoPage is loading twice. Could anyone help me ?


#2

@elfedac
will you post the following info so people could help you
1- relative code
2- what did you try to solve the problem
3- your ionic info output


#3

Also:
How are you testing?
Why do you think it is loading twice?


#4

If you are doing ionic serve -l (lab), the browser loads once for each type of platform tested (up to 3 if you include windows, more often 2 with android and ios)


#5

Sorry,
I didn’t completed my post yesterday because of my internet connexion…and I didn’t published my snippets.
But I resolved my trouble. In my Formulaire html page, I closed my <form> after the submit form ion-button.
Big mistake :slight_smile: That’s why my PhotoPage loaded twice.

Now, I closed my <form> before my submit form button and all is fine.
Thanks