1

lazyload と jquery mobile の間の競合により、phonegap iOS ビルドを使用$.mobile.changePageした場合の期待される結果が損なわれます。$.mobile.navigate

ただし、デスクトップ ブラウザーでは機能しますが、iOS ビルド (phonegap が提供するものなど) では機能しません。

この問題は、コードの次のセクションが原因で発生します。

/* With IOS5 force loading images when navigating with back button. */
        /* Non optimal workaround. */
        if ((/iphone|ipod|ipad.*os 5/gi).test(navigator.appVersion)) {
            $window.bind("pageshow", function(event) {
                if (event.originalEvent.persisted) {
                    elements.each(function() {
                        $(this).trigger("appear");
                    });
                }
            });
        }

スタック トレースの問題event.originalEventundefined.

4

1 に答える 1