Framework7 pull-to-refresh-content在飞行模式下无效

时间:2016-12-04 15:44:49

标签: cordova html-framework-7

在我将iPhone切换到飞行模式后,整件事情就不再有效了。

没有下拉箭头。没有加载动画。只是不能拉下来。使用此功能时我应该处理网络状况吗?例如,在检查网络存在后禁用并启用pull to refresh?

Framework7 1.5.0

<div class="pages navbar-through toolbar-through">
    <!-- Page, "data-page" contains page name -->
    <div data-page="index" class="page">
      <!-- Scrollable page content -->
      <div class="page-content infinite-scroll pull-to-refresh-content">
        <div class="pull-to-refresh-layer">
          <div class="preloader"></div>
          <div class="pull-to-refresh-arrow"></div>
        </div>
        <div class="list-block media-list topic-list">
          <ul id="topicListContainer">

          </ul>
        </div>
        <div class="infinite-scroll-preloader" style="display: none">
          <div class="preloader"></div>
        </div>
      </div>
    </div>
  </div>

1 个答案:

答案 0 :(得分:0)

通过追踪和错误想出来。通过添加底部工具栏来修复它。

        <!-- Bottom Toolbar-->
        <div class="toolbar">
            <div class="toolbar-inner">
                <!-- Toolbar links -->
                <a href="#" class="link">Link 1</a>
                <a href="#" class="link">Link 2</a>
            </div>
        </div>