angucomplete icon indicating copy to clipboard operation
angucomplete copied to clipboard

mouse clicking is not triggering the selection

Open liadlivnat opened this issue 10 years ago • 7 comments

Mouse click is not trigger the selection like hitting the enter does.

Does anyone have a solution so far, ng-blur fix didn't fix this issue.

liadlivnat avatar Jul 18 '14 11:07 liadlivnat

Did you find any solution for this?

developeron29 avatar Jul 23 '14 15:07 developeron29

I also have the same issue mouse click does not work , but enter key works. Any solution please?

asadbsse avatar Aug 06 '14 10:08 asadbsse

I still don't see this issue yet. Could you guys create a jsbin or plunker example that shows how you guys are using this directive?

ghiden avatar Aug 06 '14 10:08 ghiden

Try increasing the pause... worked for me, seems that there's a conflict with the blur handler on the input and the capturing of the click event on the row.

ghost avatar Sep 03 '14 20:09 ghost

@liadlivnat @developeron29 @asadbsse @ghiden @dylanrevisited I found the solution for this bug. ng-blur fired before ng-click execute.

using ng-mousedown instead of ng-click is fixed this bug

Kisama avatar Sep 11 '14 09:09 Kisama

Thanks @Kisama . This fixes it.

vijay-joshi avatar Nov 05 '14 07:11 vijay-joshi

If you go to the example URL inspect the source, copy and paste the directive js into the js you source on your own project, it works. I don't know what the difference is but the ng-click event doesnt fire in the js found in the zip file but it does in the example url source

seanmccallum avatar Nov 11 '14 21:11 seanmccallum