Giter Site home page Giter Site logo

V6 about react-tags HOT 11 CLOSED

i-like-robots avatar i-like-robots commented on May 11, 2024
V6

from react-tags.

Comments (11)

mklopets avatar mklopets commented on May 11, 2024 1

Is there a plan to release this?

from react-tags.

i-like-robots avatar i-like-robots commented on May 11, 2024 1

Unfortunately I've not received any feedback on the beta release so I have been reluctant to release it. If you would like to try it then there are instructions in the readme 😄 :

https://github.com/i-like-robots/react-tags/tree/6.0#installation

from react-tags.

filippofilip95 avatar filippofilip95 commented on May 11, 2024 1

Thanks for the quick reply 👍 I've tested it now and it works like charm 😄 Just followed your migration instructions 🥇

Our implementation is minimal. But I can confirm that this works :)

Screen Shot 2019-08-23 at 1 23 08 PM

from react-tags.

coxom avatar coxom commented on May 11, 2024 1

When using an async search to fetch the suggestions the component won't work correctly and will get out of sync with the suggestions provided via props.
From the code seems like it's not looking into changes from suggestions to update its internal state.

PS: Seems like the beta version is now the default version installed when you do "npm i react-tag-autocomplete". Took me a while to understand why handleInputChange was not working.

from react-tags.

insekticid avatar insekticid commented on May 11, 2024 1

@coxom I solved onInput async fetch with <ReactTags ref={this.tagsRef}
@i-like-robots is this bug?

onInput = (query) => {
            return fetch(`/search/?q=${query}`).then(result => result.json()).then((suggestions) => {
                        this.tagsRef.current.setState({ query, options: suggestions, suggestions });

EDIT: I did some changes and I finally added support for larger result set with scroller enabled and keyUP and Down focused scroller move
image

from react-tags.

drichar avatar drichar commented on May 11, 2024

Would love to utilize the custom suggestion component! Will 6.0 be released?

from react-tags.

i-like-robots avatar i-like-robots commented on May 11, 2024

I've published [email protected] to npm, please give it a try and let me know if there are any issues!

from react-tags.

theJian avatar theJian commented on May 11, 2024

@i-like-robots Any plan to refactor using Hooks? Maybe starting with examples?

from react-tags.

i-like-robots avatar i-like-robots commented on May 11, 2024

@theJian No not yet. Starting with the examples sounds like a fine idea though.

from react-tags.

filippofilip95 avatar filippofilip95 commented on May 11, 2024

When do you plan to merge this? :)

from react-tags.

i-like-robots avatar i-like-robots commented on May 11, 2024

Thanks for the heads up about incorrect npm distribution tags @coxom, this has been corrected here.

from react-tags.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.