Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-2809 in a recent build.
  1. #1
    Sencha User
    Join Date
    Feb 2012
    Location
    New York, NY
    Posts
    52
    Vote Rating
    3
    roycyang is on a distinguished road

      0  

    Default Touchmove, Touchstart, Touchend targets wrong in iOS

    Touchmove, Touchstart, Touchend targets wrong in iOS


    REQUIRED INFORMATION

    Ext version tested:
    • Touch 2.0.0GPL and 2.0.1RC
    Browser versions tested against:
    • iOS 5.1
    DOCTYPE tested against:
    • HTML5
    Description:
    • When I have a touchmove event and I track the target, it works in Chrome but in iOS the touch target is ALWAYS the first thing I touched. Even if I drag my finger to a different element, the same element.id comes back again and again.
    Steps to reproduce the problem:The result that was expected:
    • That the target element is actually what you are touching
    The result that occurs instead:
    • The target never changes, is always the first thing you touched
    Test Case:

    Code:
        https://github.com/roycyang/sencha-touch-extensions

    HELPFUL INFORMATION

    Screenshot or Video:
    • attached
    Correct element IDs in chrome:
    Screen Shot 2012-04-22 at 4.57.14 PM.jpg

    The touchmove target never changes in iOS:

    photo.jpg

    See this URL for live test case: http://roycyang.github.com/sencha-touch-extensions/

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,548
    Vote Rating
    873
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Thanks for the report.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    May 2012
    Posts
    6
    Vote Rating
    0
    Qumhieh is on a distinguished road

      0  

    Default any fix?!?

    any fix?!?


    did you found any fix for this issue?!

  4. #4
    Sencha User
    Join Date
    Jan 2012
    Posts
    62
    Vote Rating
    5
    s.t.a.s is on a distinguished road

      0  

    Default Fix

    Fix


    I need this fix too. Are there any solution?

  5. #5
    Sencha User
    Join Date
    May 2012
    Posts
    32
    Vote Rating
    1
    A.Tyshchyk is on a distinguished road

      0  

    Default


    It's not fixed on ST2.1 (Build date: 2012-11-05 22:31:29)

    The temporary solution:
    Code:
    onElementTouchMove: function(e) {
            if (Ext.browser.is.ChromeMobile) {
                var x = e.event.changedTouches[0].screenX;
                var y = e.event.changedTouches[0].screenY;
            } else {
                var x = e.pageX;
                var y = e.pageY
            }
            var target = document.elementFromPoint(x, y);
    }