Project: titanium
Issue TIMOB-18048: Android: Ti.UI.Label.html - setting html property makes it non-clickable
h4. Problem Description Once you set the html property in a label, the click event is lost. h4. Test Case 1. Create a new mobile project Classic titanium 2. Paste this code into app.js: {code:title=app.js|borderStyle=solid} var win = Ti.UI.createWindow({ backgroundColor: "#fff" }); var lbl = Ti.UI.createLabel({ backgroundColor: "red", html: "Click here Visit W3Schools.com!" }); lbl.addEventListener("click", function(){ alert("clicked"); }); win.add(lbl); win.open(); {code} 3. Run it in a 4.0.x device. 4. Click the label h4. Expected results After clicking the label, an alert should appear. h4. Actual results alert is not shown.
Story points: 5