Navigation

    Monaca & Onsen UI
    • Register
    • Login
    • Search
    • Tags
    • Users
    • Blog
    • Playground
    1. Home
    2. daniel7558
    D
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups
    Save
    Saving

    daniel7558

    @daniel7558

    0
    Reputation
    2
    Posts
    784
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online

    daniel7558 Follow

    Posts made by daniel7558

    • RE: List Scrolling Problem

      I tracked the problem down to the debug tools I’m using.
      This happens when the Chrome Developer Tools are open and connected to the app. For convenience I use GapDebug but I just tried it within chrome and the same bug occurs.
      When I disconnect from the Dev Tools the list works perfect!

      In the Dev Tools Console I also get a link to https://bugs.chromium.org/p/chromium/issues/detail?id=574343

      I was testing the app on a real Samsung Galaxy S5 device.

      Any ideas?

      posted in Onsen UI
      D
      daniel7558
    • List Scrolling Problem

      Hi,
      I’m new to Onsen and I’ve got a problem with lists which are longer than the screen. When I want to scroll to the end of the list it sometimes doesn’t react at all and sometimes it works (but with an offset so “1cm” of finger movement doesn’t correspond to “1cm” of the list). To me it seems like it doesn’t detect the touch event right but this is just a guess.
      Here is my code that I use for the list (Onsen2).

              <ons-page>
                  <ons-toolbar>
                      <div class="left">
                          <ons-toolbar-button onclick="fn.open()">
                              <ons-icon icon="md-menu"></ons-icon>
                          </ons-toolbar-button>
                      </div>
                      <div class="center">
                          Settings
                      </div>
                  </ons-toolbar>
      
                  <ons-list>
                      <ons-list-item>
                          <div class="list__item__left">
                              <ons-icon icon="md-face" class="list__item__icon"></ons-icon>
                          </div>
                          <div class="list__item__center">
                              <ons-input id="username" modifier="underbar" placeholder="Your name" float></ons-input>
                          </div>
                          <div class="list__item__right"></div>
                      </ons-list-item>
                      ...
                      [multiple copies of the last list item]
                      ...
                  </ons-list>
      

      Best regards,
      Daniel

      posted in Onsen UI
      D
      daniel7558