Giter Club home page Giter Club logo

Comments (9)

yazonnile avatar yazonnile commented on May 31, 2024

Hi!
Could you plz attach any code-sample or screenshot?

from jcf.

salunet avatar salunet commented on May 31, 2024

Did you put the function inside a document.ready?

from jcf.

inferpse avatar inferpse commented on May 31, 2024

@jirkae any information about it or we can close it? I suggest you to use default settings for selects. Let them show native dropdown on mobile devices - it will work fast and UX will be much better.

from jcf.

jirkae avatar jirkae commented on May 31, 2024

Currently I am testing it with that fix, give me a minute, but it looks it is slow (entire JCF) :/ Tried run it just withou select and the performance was same. Without complete JCF the script was loaded in less than 2,5s

from jcf.

jirkae avatar jirkae commented on May 31, 2024

Here is performance result:
image

from jcf.

jirkae avatar jirkae commented on May 31, 2024

Sorry, I didnt mention, that it is on mobile. PC can make it quite fast, but there must be something unoptimal

from jcf.

jirkae avatar jirkae commented on May 31, 2024

Ok, so the problem is in number of inputs. I have around 200 checkboxes, so I need to add :visible to selector a refresh it on change. But 200 is not too many, isnt it?

from jcf.

inferpse avatar inferpse commented on May 31, 2024

Well, for such cases I would highly recommend of thinking about using CSS approach.
Can you create a test page with similar behavior on https://jsfiddle.net/ so that we could reproduce it on mobile?

from jcf.

inferpse avatar inferpse commented on May 31, 2024

Feel free to comment on this if you're still experiencing performance issues.

from jcf.

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.