selectize.js
selectize.js copied to clipboard
Cursor disappears after selecting option in select multiple when using CDN provided version
I did:
- [X] Search for if my issue has already been submitted
- [X] Make sure I'm reporting something precise that needs to be fixed
- [X] Give my issue a descriptive and concise title
- [X] Create a minimal working example on JsFiddle or Codepen
- [X] Indicate precise steps to reproduce in numbers and the result, like below
I have a problem with select multiple - when I use script from CDN the cursor disappears after first selection. When using script from documentation server it works just fine.
Steps to reproduce:
- Start fiddle with CDN provided script or with script from documentation server
- Select one option
Expected result: Cursor should be visible
Actual result: On CDN provided version cursor is not visible, but when using script from documentation server it works just fine.
There are some differences between these scripts despite the fact that both have same version number (0.15.2). Is CDNJS script, which link was copied from docs, broken?
Most likely, the external CDN takes slightly longer to load than your local resource, therefore impacting the load order of named JS files. You could try wrapping both local and CDN based scripts in a delay load to test late loading it from both sources.
You can also download the CDN file and compare it to what you have byte for byte. They should match, it's been the same files for awhile now.
You probably have something, capturing an event after the selection is made for onChange or onBlur. I'd set a debugger and trace everything after selection. Chrome's debug tools are powerful once you figure out how to capture events on elements.
You can also download the CDN file and compare it to what you have byte for byte. They should match, it's been the same files for awhile now.
It looks that docs are using newer version (dev-master?) which is marked with wrong version number. So this behavior was probably fixed between 0.15.2 and master branch. I have downloaded 0.15.2 and master versions - master works as expected. Is next release planned anytime soon?
I haven't done a release, maybe @risadams can run that command for us. Thanks.
I haven't done a release, maybe @risadams can run that command for us. Thanks.
hello all, I have stepped down as a maintainer in Feb of this year and no longer have push access to make and changes. Outside of answering general questions and keeping the domain renewed I don't have the ability to do much these days.
@risadams - ah, completely forgot. What a year...
@joallard - can you help? Just need to do a release and release a minor update with recent changes. See comments above.
+1 I report the same issue with version (0.15.2)
Hello! Problem persists on CDN https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.15.2/js/selectize.min.js