Issue metadata
Sign in to add a comment
|
Touching SELECT element does not open popup in framework7.io.
Reported by
s.mez...@gmail.com,
Sep 28 2016
|
||||||||||||||||||||
Issue descriptionDevice name: D6603 From "Settings > About Chrome" Application version: 53.0.2785.124 OS: Android 6.0.1 URLs (if applicable): http://framework7.io/docs/form-elements.html Behavior in Android Browser (if applicable): Steps to reproduce: (1) Open URL mentioned above (2) Scroll to form elemets (3) Click the select element (gender) Expected result: Instantly open the options to select Actual result: Does not do anything. It seems you have to somehow first activate the element with a long tap and than short touch again to bring up the options. This worked before and also works with current Android WebView, but does not work in Chrome anymore
,
Sep 28 2016
Confirmed with Nexus 7 + Android 6.0 and Pixel + CrOS. It's specific to framework7.io. <select> on other sites work normally.
,
Sep 28 2016
,
Sep 29 2016
The problematic code is likely the touchEnd where they try to dispatch an untrusted mousedown to open up the select box on android.
Is there a reason they cannot just allow the touchend to end up dispatching the click?
var eventType = 'click';
if (app.device.android && targetElement.nodeName.toLowerCase() === 'select') {
eventType = 'mousedown';
}
evt.initMouseEvent(eventType, true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
evt.forwardedTouchEvent = true;
targetElement.dispatchEvent(evt);
s.mezger@ are you a framework7.io dev? If not have you opened up an issue against framework7.io? And what has their response been?
,
Sep 29 2016
dtapu...@ No I'm not a dev of framework7 and haven't filled a bug report over there yet. As it worked in the past and works with others I expect(ed) it to be a bug in chrome. However if you wrote that they dispatch an untrusted mousedown I had a loook into the code and changed it to fire the touchdown directly. Works fine! I will let the framework7 guys know about it. Thanks for looking into it!
,
Sep 30 2016
I believe this is issue: https://github.com/nolimits4web/Framework7/issues/1137
,
Sep 30 2016
This is an intended change. The framework7.io code should be updated.
,
Oct 2 2016
Just to confirm, the select element is not working properly on Chrome emulator. There are many reports in recent days but no action was taken.
,
Oct 2 2016
#8, it's unrelated to this issue. Please refer to Issue 642349 . |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Sep 28 2016