Coder Social home page Coder Social logo

Comments (7)

paulstraw avatar paulstraw commented on August 27, 2024

Thanks @agentfitz, I'll get this fixed up shortly.

from fancyselect.

deansimcox avatar deansimcox commented on August 27, 2024

Confirmed on my Android phone too.
Chrome version 28
Android 4.2.2

from fancyselect.

mettin avatar mettin commented on August 27, 2024

Fixed it by adding

isAndroid = !!navigator.userAgent.match(/Android/i);
if(isAndroid) return;

on line 9.

[edit] fixed might be a big word. But it's working. you can style still the element with css so...

from fancyselect.

paulstraw avatar paulstraw commented on August 27, 2024

Thanks @mettin, but the goal here is to keep the styled trigger and still use the native select when it's focused. I'm actually working on this right now (It's caused by Android not allowing focus to be manually triggered on form elements), and should have a fix soon.

from fancyselect.

mettin avatar mettin commented on August 27, 2024

Yeah got that working too by adding div.fancy-select div.trigger, .parent select{/*style*/}. I Agree, not the best solution.

from fancyselect.

paulstraw avatar paulstraw commented on August 27, 2024

After messing around with it a bit, the experience is really pretty comparable to native selects on Android (at least in my opinion), so I'm leaning towards going native on iOS only. Thoughts?

from fancyselect.

mettin avatar mettin commented on August 27, 2024

After changing to isMobile = !!navigator.userAgent.match(/Mobile|webOS/i); if(isMobile) return i can say i'm satisfied with how it works. you want the native thingy on all mobile devices so... just change the css?

from fancyselect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.