when poppage will cause parent page which in the tabbar blinking



  • i don’t know how to avoid blink happend,
    finally i do this way…

                        navigator.addEventListener('prepush', function (event) {
                                $(tabbar).invisible();
                        });
    
                        navigator.addEventListener('postpop', function (event) {
                                setTimeout(function () {
                                    $(tabbar).visible();
                                }, 1);
                        });
    

    it’s not perfect, but acceptable to me, is there any other solution??


Log in to reply