I ‘m developing an app using wink. For the UI, I ‘m using fixed layout + sliding panels + scroller. All inspired from the demo pages(version 1.4.1 now).
The problem I’m facing now is with touch events on my list items. I managed to handle them using the callback ‘statechanged’ and getting the ‘start’ and ‘end’ timestamp of the event. It works fine in my PC’s Firefox but when I use the app from an IPhone or an Android device(default browsers), the event doesn’t seem to fire when tapping on the text of the list item. If tapping occurs in areas of the list item with no text, it works.
I ‘m sorry it took me some days to answer.
Well, I ‘m embarrassed to say that it seems to work now. I have to give it some more testing though. If I find anything, I will send you the URL(I have to localize it in English first).
I’m facing another problem now. I want to have rounded top left and right corners in my views so I have set:
Well, I think that the scrollContent layer sits on top of the wrapper element and on top of the rounded corners. If you slide down you can see the rounded corners of the wrapper. If you some more info tell me. My pages are html5 by the way. I don’t know if this matters.
I believe there is a problem with event propagation for input text fields specifically for the Android default browser(tested on Android 4.0.3 but I think other versions behave the same too).
If the input text box is outside a scrollable area, the “click” event fires and behaves as it should(the device keyboard is activated). If the input text box is inside a scrollable area then the “click” event is captured by the scroller and passed to _handleSelection() which then calls uxEvent.dispatch(properTarget, “click”); (Well, I assume you know all that since you wrote this excellent code). Now, the input box takes focus but the device keyboard is never shown.
I’ve tested Firefox on the same device(HTC Sensation) and Chrome. Both behave fine(the keyboard is activated). The problem is with the default browser.