Comments (9)
Hi!
Could you plz attach any code-sample or screenshot?
from jcf.
Did you put the function inside a document.ready?
from jcf.
@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.
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.
from jcf.
Sorry, I didnt mention, that it is on mobile. PC can make it quite fast, but there must be something unoptimal
from jcf.
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.
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.
Feel free to comment on this if you're still experiencing performance issues.
from jcf.
Related Issues (20)
- Wrong selectbox rendering after reset form with scrollable.js HOT 1
- full-text search for select box
- Keyboard Tab to switch to next form controll not working
- scrollable looses styling on ios
- Default number input with step 2 on touchpads
- Issue with custom scroll on iOS HOT 1
- programmatically close dropdown when going out of focus HOT 2
- Select options disappear after programmatically trigger hideDropDown HOT 2
- How to unbind element with JCF. HOT 1
- Can I turned off init jcf-scrollable on resize? HOT 1
- How can I do scrollTop? HOT 1
- How to hide the option from JCF dropdown when native select is hidden using method hide() HOT 1
- onchange of select HOT 1
- Have to use small hack with v-model checkboxes on vue.js 2.x HOT 1
- Selection popup dissapears after clicking on dropdown element in Firefox on mobile HOT 1
- How can I close select dropdown programmatically? HOT 2
- compatibility jquery 3
- How to exclude elements from rendering HOT 1
- Ajax loading HOT 3
- JCF js library does not allow smartphone wheels (IOS device ) on multiple selection select fields
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jcf.