2012-05-21 53 views

回答

4

這是一個已知的問題。到目前爲止,我已經開發了一種解決方法,另一種解決方案是在Github Bug Tracker中找到的。

這是我們從聊天在總結成績的「Stoppress」(WPSE)

// From Bug tracker #4219 @TodParker 
$("[data-position='fixed']").fixedtoolbar('updatePagePadding'); 
// My own solution 
$("[data-position='fixed']").trigger('updatelayout'); 

// Summed up: (Note) `pageload` and `.bind()` and equals won't work here. 
$(document).on("pageshow", function(){ 
    $("[data-position='fixed']").trigger('updatelayout'); 
}); 

如果你也遇到過這個問題/看到這種行爲,請介入並help fixing it or support the Pull request that tries to fix it