Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cursor disappears after selecting option in select multiple when using CDN provided version #2072

Open
5 tasks done
krzyc opened this issue Dec 5, 2023 · 6 comments
Open
5 tasks done

Comments

@krzyc
Copy link

krzyc commented Dec 5, 2023

I did:

  • Search for if my issue has already been submitted
  • Make sure I'm reporting something precise that needs to be fixed
  • Give my issue a descriptive and concise title
  • Create a minimal working example on JsFiddle or Codepen
  • 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:

  1. Start fiddle with CDN provided script or with script from documentation server
  2. 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?

@databyte
Copy link
Collaborator

databyte commented Dec 5, 2023

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.

@krzyc
Copy link
Author

krzyc commented Dec 5, 2023

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?

@databyte
Copy link
Collaborator

databyte commented Dec 5, 2023

I haven't done a release, maybe @risadams can run that command for us. Thanks.

@risadams
Copy link
Contributor

risadams commented Dec 6, 2023

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.

@databyte
Copy link
Collaborator

databyte commented Dec 6, 2023

@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.

@Block99block99
Copy link

+1 I report the same issue with version (0.15.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants