vendredi 21 mars 2014

iOS tap event fires also on previous view after card view rewind

Touch version tested:

  • Touch 2.3.1


Browser versions tested against:

  • Chrome

  • Safari iOS 7.1


DOCTYPE tested against:

  • <!DOCTYPE html>


Description:


I have a navigationview with card layout. Panel view with form fields, and a dataview.List



The list view appears on focus of a textfield and passes a callback. On itemtap, the value is set on the textfield via the callback, then Ext.ComponentManager.get('navigation_view').pop(); to rewind to the original view.



On iOS the tap event seems to carry on and interfere with other controls on the first view. I can workaround by delaying the pop with Ext.defer()



Steps to reproduce the problem:


  1. tap on textfield in panel

  2. focus event pushes list to x-navigationview

  3. tap on item in list

  4. list itemtap calls pop() on x-navigationview

  5. panel fields also receive tap


The result that was expected:

  • On Chrome, the panel at #1 does not receive the tap


The result that occurs instead:

  • On iOS7 the panel at #1 also gets the tap event, unless I delay the call to pop at #4






Aucun commentaire:

Enregistrer un commentaire