cdonnellytx
7 Mar 2011, 9:10 AM
Sencha Touch version tested:
1.0.1
Platform tested against:
iOS 4 (particularly iPad with iOS 4.2.1)
Description:
The contains() method on Ext.Element returns false if passed a text node. Unfortunately, the version of WebKit on iOS 4.2 fires touchstart events off of text nodes.
Steps to reproduce the problem:
Open a modal popup dialog of some sort with a lot of text.
Tap the text in the dialog (may take 2-3 tries).
The result that was expected:
Tapping inside the dialog should never hide it, unless explicitly set to do so (e.g. buttons).
bar
The result that occurs instead:
Tapping a text node inside the dialog hides the dialog.
Debugging already done:
I traced it down to Ext.Element#contains(textNode) always returning false. Haven't dug further into why that is, but it is probably related to its handling of non-element nodes.
Possible fix:
None as of yet
1.0.1
Platform tested against:
iOS 4 (particularly iPad with iOS 4.2.1)
Description:
The contains() method on Ext.Element returns false if passed a text node. Unfortunately, the version of WebKit on iOS 4.2 fires touchstart events off of text nodes.
Steps to reproduce the problem:
Open a modal popup dialog of some sort with a lot of text.
Tap the text in the dialog (may take 2-3 tries).
The result that was expected:
Tapping inside the dialog should never hide it, unless explicitly set to do so (e.g. buttons).
bar
The result that occurs instead:
Tapping a text node inside the dialog hides the dialog.
Debugging already done:
I traced it down to Ext.Element#contains(textNode) always returning false. Haven't dug further into why that is, but it is probably related to its handling of non-element nodes.
Possible fix:
None as of yet