Contenteditable=true and open bracket issues on Android 4.0.3

230 views
Skip to first unread message

Diego La Monica

unread,
Apr 9, 2012, 5:34:00 AM4/9/12
to phon...@googlegroups.com
Hi to all, 
  I don't know if it is a known bug but I didn't find anything on the Web that tells that it is known.
I got a strange behavior using an area with contenteditable setted to true.

When I try to type the rounded open bracket "(" the contenteditable area ignores that character. I'm able to reproduce this issue only in a phonegap application using the following code (in the body):

<div id="my-contents" contenteditable="true">Try to type "(" here.</div>

I made the test with phonegap 1.6 and Android 4.0.3 (both virtual machine and Asus eeePad TF101 with/without kbd).  
Trying the above code in a web-page it works fine. So I think that the issue is in some way related to phonegap.

Before notify a bug can you tell me if you too have meet the same problem?

Cheers.
Diego

Diego La Monica

unread,
Apr 10, 2012, 11:42:38 AM4/10/12
to phon...@googlegroups.com
I would updata about my tests. Maybe it will be useful for some of you.
I've created a new PhoneGap App using PhoneGap v 0.9.6 and Android Min API Level 8. With this configuration the "contenteditable" area works fine accepting the open rounded bracket too.

Maybe it is an indirect bug introduced in a PhoneGap version above the 0.9.6 or is an Android SDK bug. I will investigate further.

Diego

Diego

--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en
 
For more info on PhoneGap or to download the code go to www.phonegap.com




email: m...@diegolamonica.info - Skype: diego.la.monica
mobile +393337235382 - Web: http://diegolamonica.info - http://jastegg.it [ Le uova si sono schiuse! ]

Diego La Monica

unread,
Apr 10, 2012, 3:52:03 PM4/10/12
to phon...@googlegroups.com
Latest update about this Issue.
I can confirm that it is a Cordova Library bug.
Indeed I've tried the contenteditable area in all Android API Levels since 8 and Cordova 1.5. The contenteditable area does not works as expected (just for the rounded open bracket). 
Using the phonegap.jar (I've tested the 0.9.6 and 1.0.0 versions) the contenteditable area works at all regardless the API Level (since 8 up to 15).

Hope this will be useful for some of you that will fall in the same problem.

Diego
--
--
Diego La Monica (IWA/HWG)
Web: programmazione, standards, accessibilità e 2.0
W3C Protocols and Format Working Group member for IWA/HWG
Web Skill Profiles WG Member (http://skillprofiles.eu )
Reply all
Reply to author
Forward
0 new messages