Code Monkey home page Code Monkey logo

Comments (11)

nevf avatar nevf commented on August 29, 2024

I am very surprised that clicking on an item in the suggestion list doesn't select it. This seems like the most basic of desired behaviour.

from jquery-textext.

alexgorbatchev avatar alexgorbatchev commented on August 29, 2024

I agree, seems that I have overlooked this one.

from jquery-textext.

nevf avatar nevf commented on August 29, 2024

Any idea when you'll implement mouse click selection?

from jquery-textext.

jasondavis avatar jasondavis commented on August 29, 2024

jquery-textext is really an amazing project you got here, I mean I would rate it with the tagging ability of Stackoverflow and Facebook on the feature side of it, the only thing missing for me is the click ability, thanks for sharing your work with the world

from jquery-textext.

alexgorbatchev avatar alexgorbatchev commented on August 29, 2024

@jasondavis thnx!

Not sure when exactly I'd be able to get to it. It would be awesome if you guys could take a look at it :)

from jquery-textext.

jasondavis avatar jasondavis commented on August 29, 2024

I would love to contribute but I am more of a backend coder, I am not currently skilled enough with Javascript. I did take a look at the code though just to get an idea, and in Autocomplete plugin I found this

p.onClick = function(e)
{
    var self   = this,
        target = $(e.target)
        ;

    if(target.is(CSS_DOT_SUGGESTION))
        self.selectFromDropdown();
};

I would imagine that is for doing what this question was about but since it does not do it, maybe this is for a different click event?

from jquery-textext.

jasondavis avatar jasondavis commented on August 29, 2024

An update, I have found how out more information.

Here is an image that is more to the point of the problem... You have to click in the area highlighted with red for it to work as expected. So if you click anywhere outside of that red box it will not work, including on the actual text/name of the tag

click area

The ideal solution would allow you to click anywhere in the GREEN highlighted section to add that tag to the input box.
click area

If you watch this 2 minute video you can see, I am on Windows 7 with Chrome http://screencastle.com/watch/00ca12cc4d3e10de867b8404007f85a4

from jquery-textext.

martinffx avatar martinffx commented on August 29, 2024

Any chance of merging one of these fixes into the main project

from jquery-textext.

alexgorbatchev avatar alexgorbatchev commented on August 29, 2024

Will merge it this weekend. Sorry about delay on this.

from jquery-textext.

alexgorbatchev avatar alexgorbatchev commented on August 29, 2024

Thank you!

from jquery-textext.

alexgorbatchev avatar alexgorbatchev commented on August 29, 2024

Merged.

from jquery-textext.

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.