Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    TileGrid Issue on iOS touch device

    Hi Iso,

    drag and drop makes trouble on touch device if the TileGrid itself has a scrollbar.

    If the TileGrid is at top position and I do DnD to bottom, it works properly, and vice versa (bottom position, DnD upwards). Maybe in these situations there is a unique interpretation of the interaction... in every other case there seem to be conflicts between DnD and TileGrid scrollbar control. If the whole TileGrid contents is visible, DnD works properly too.

    There's no difference between native Safari and Web Kit here

    Thx,

    Ekki

    * GWT Rocks! * SmartGWT Rocks Even Harder! * GWT 2.0.3,
    SmartGWT PRO 2.3, JRE 1.6.0_20, Eclipse 3.6 *
    * Xcode 3.2.2 * iOS 3.0 (Base OS) *

    #2
    In this something that can be reproduced in a TileGrid sample from the Showcase? If so, can you give steps (please be very detailed).

    Comment


      #3
      IMHO this can be shown with:

      http://www.smartclient.com/smartgwt/showcase/#effects_dd_tiles_move

      Drag more animals into the TileGrid than can be shown at once, then for the intermediates it is hard or impossible to do the intra-DnD as needed. The effect shows not as clearly as in my use case, where I have a single-column TileGrid but is there too.

      In my case, I can provide both link and source code, I'm not doing anything special, and in a Web environment this works properly. Hope this helps

      Ekki

      Comment


        #4
        You can't use dragging both for drag and drop and for drag scrolling at the same time - it has to do one thing or the other. One way to disable drag scrolling (such that the scrollbars are the only way to drag) is to use setAttribute("dragOperation", "drag").

        Comment


          #5
          Hi Iso,

          I can't agree because of two reasons:

          (1) it is possible as the same app runs well on regular Web browser, and is for sure a deterministic algorithm

          (2) my consumers simply expect this behavior, i.e. dragging an item into an out-of-view region with automatic changing the region.

          Any solution to this? Please...

          Yours,

          Ekki

          Comment

          Working...
          X