dragonofmercy / Tokenize2

Tokenize2 is a plugin which allows your users to select multiple items from a predefined list or ajax, using autocompletion as they type to find each item. You may have seen a similar type of text entry when filling in the recipients field sending messages on facebook or tags on tumblr.
https://dragonofmercy.github.io/Tokenize2/
BSD 3-Clause "New" or "Revised" License
83 stars 25 forks source link

jQuery 3.3.1 breaks something #46

Closed fernandoval closed 6 years ago

fernandoval commented 6 years ago

When in jQuery 3.3.1 the cursor does not appear.

With jQuery 3.2.1 all looks good.

dragonofmercy commented 6 years ago

I've just checked with Chrome, I cound not find the problem, can you explain more about your issue (browser, version, screenshot, etc.)

fernandoval commented 6 years ago

I did more tests and the strange situation gone.

I suppose the browser cache was using the v1.0 instead of loading the v1.1 when the problem was occurring.

Sorry for the inconvenience.

fernandoval commented 6 years ago

Sorry.

Now I found the problem again.

When in a fresh screen, the user clicks in the field, the cursor does not appear.

image

But, if the user navigate between fields with tab key, or go out and back to the browser, the cursor appear.

image

This happens only with jQuery v3.3.1.

dragonofmercy commented 6 years ago

Ok I found the problem, I miss an css Just add :

.tokenize > .tokens-container > .token-search {
    min-width: 10px;
}