Page 1 of 2

Dropdown won't work on mobile browsers

PostPosted: 24 Mar 2016 18:19
by gbh100
I have tested a few different setups and it appears to me that in Web Applications using the DropDown component, that the dropdown doesn't work. I have tried Android using Chrome and iPhone using Safari and a few others and the DropDown doesn't seem to work. this same application works fine on various desktop browsers. I have tried another application with IW12 with the same results. My application is using IW14 CGDev 2.9.0.229. Any ideas? It does seem to work with the Dolphin browser on Android however.

Re: Dropdown won't work on mobile browsers

PostPosted: 24 Mar 2016 19:00
by gbh100
I just upgraded to CGDev 2.9.0.232 and it all magically works now. Was there something in that update touching this or something else in my environment changing with the upgrade? Anyway no worries now . . .

Re: Dropdown won't work on mobile browsers

PostPosted: 24 Mar 2016 19:38
by Jorge Sousa
Hello

We can never garantee that desktop components work in Mobile devices.

Re: Dropdown won't work on mobile browsers

PostPosted: 05 Apr 2016 13:48
by gbh100
That's a little disappointing. I realize that you have a mobile specific ecosystem of components but it seems that everyone else includes the mobile market as part of their development ecosystem. Even Select2, which is I believe what is wrapped in JQDropdown supports use on mobile version of Safari, etc. I believe it is part of responsive design that is all the rage these days. One way to achieve this is through mobile detection and forking to a design of entirely mobile components. I don't believe for a second that it is the only way.

Re: Dropdown won't work on mobile browsers

PostPosted: 05 Apr 2016 14:01
by gbh100
By the way my report that it was working after the upgrade to V2.9.0.232 was wrong. It worked for some reason on the compile immediately after CGDev was upgraded but restarting Delphi did something to stop it. As I mentioned first it doesn't work with mobile versions of Safari, Chrome and the Android browser. It does work reliably with Dolphin however.

Re: Dropdown won't work on mobile browsers

PostPosted: 22 May 2017 23:37
by fateh78
Dear Sousa
take a Cuban cigar :geek: , and try to find solution for mobile devices. :arrow: :arrow:
What we have to do with components that not work on mobile
any hint or simple solution

Re: Dropdown won't work on mobile browsers

PostPosted: 22 May 2017 23:41
by fateh78
this component is great for multi select, needed too much for mobile

Re: Dropdown won't work on mobile browsers

PostPosted: 17 Sep 2017 13:45
by EitanArbel
yep, it doesn't even open in mobile in CG 4.0.1.60.

any suggestion, or idea what can we use instead please?

Re: Dropdown won't work on mobile browsers

PostPosted: 17 Sep 2017 23:14
by fateh78
blablabla : go to jquery.fastclick.min.js and change a.addEventListener("touchstart",this.onTouchStart, !1) to be like this :
a.addEventListener("touchstart",this.onTouchStart, {passive: True})

do not forget to to clear browser cash to reload the new version of file

the same thing applies to combobox and other components
viewtopic.php?f=43&t=1796&start=10

best regards everybody

Re: Dropdown won't work on mobile browsers

PostPosted: 18 Sep 2017 04:06
by EitanArbel
Fateh, Thank you VERY VERY much for saving me from going crazy :D :D :D

i hope someone from CG is seeing this to fix for next version (i don't feel like changing it manually every time i upgrade my app...)

MANY Thanks again Fateh :)