New issue
Advanced search Search tips

Issue 650945 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Sep 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Chrome
Pri: 3
Type: Bug-Regression



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 description

Device 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



 
Components: Blink>Forms

Comment 2 by tkent@chromium.org, Sep 28 2016

Components: -Blink>Forms Blink>Forms>Select Blink>Input
Labels: Needs-Bisect Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Summary: Touching SELECT element does not open popup in framework7.io. (was: Form Select element does not work anymore)
Confirmed with Nexus 7 + Android 6.0 and Pixel + CrOS.
It's specific to framework7.io.  <select> on other sites work normally.


Comment 3 by tkent@chromium.org, Sep 28 2016

Labels: OS-Chrome
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?

Comment 5 by s.mez...@gmail.com, 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!
I believe this is issue: https://github.com/nolimits4web/Framework7/issues/1137
Status: WontFix (was: Untriaged)
This is an intended change. The framework7.io code should be updated.
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.

Comment 9 by tkent@chromium.org, Oct 2 2016

#8, it's unrelated to this issue.  Please refer to  Issue 642349 .

Sign in to add a comment