on 09-14-2017 1:08 PM
Hi,
I have a fragment which opens up in 2nd view. I tried to open it in onInit, onBeforeRendering,onAfterRendering and onRouteMatched after navigating from 1st view. The fragement does open for few seconds and then closes itself.
What i observed during debugging is that, on click of navigate button,
Fragment was getting opened first(fragment open call in onRouteMatch of 2nd view) and then the app was getting navigated to 2nd view.
I did find a workaround, which was to add 0 millisecond jquery delay call and opening fragment inside jquery delay function.
I wanted to know if there is another way to handle this kind of situation.
Please do post your suggestions.
Thanks,
Saurabh.
User | Count |
---|---|
77 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.