Comments (6)
Good point, I had always assumed requestAnimationFrame had poor support. I'll move this out of the build in the next release. Thanks
from choices.
The requestAnimationFrame polyfill has been removed as of version 1.1.7
from choices.
I'm definitely open to this. My only reservation is that people miss a particular polyfill, get an error and assume the library has bugs!
from choices.
Yeah I hear ya. Can be a tougher transition with existing repos, but something that can be approached through documentation. Obviously a bit of a buy-in to promote a service like http://polyfill.io but there certainly are some other options out there; especially if users have their own implementation.
from choices.
I have updated the documentation to recommend polyfill usage where needed: https://github.com/jshjohnson/Choices#browser-compatibility
I have kept the polyfill for Array.from
and window.requestAnimationFrame
within the Choices bundle as they are required for the plugin to function.
Thanks for the heads up.
from choices.
Cool! That's a great addition to the README. One quick note around keeping requestAnimationFrame
- since the browser compat list mentions only browsers that support es5 it looks like the former has very similar support for it, so something maybe to be considered for the future. Thanks!
from choices.
Related Issues (20)
- Reporting a vulnerability
- Create Item for multi select. HOT 1
- cant get data attributes?
- removeActiveItems method - excludedId should be optional?
- Unlimited searchResultLimit HOT 1
- Unable to suppress warnings and errors
- How do I use this with Vue 3 Composition API?
- classNames spaces
- Add matches for highlight support
- duplicateItemsAllowed not working
- Items Not Display HOT 1
- Keep the [name='search_terms'] input value after selection
- Accessibility problems - Google PageSpeed
- Does not show the icon (HTML) HOT 1
- how to pass a single value instead of a array when you single select
- Cannot read properties of undefined (reading 'removeLoadingState')
- setChoiceByValue success but item is not highlighted HOT 1
- Behaviour of dropout elements on mobile device
- Choices does not behave like other HTML elements in a disabled fieldset
- iOS Firefox Virtual Keyboard / Disappearing Options Issue
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 choices.