primeng icon indicating copy to clipboard operation
primeng copied to clipboard

p-dropdown ultima needs double click to select

Open vorenus181 opened this issue 9 years ago • 6 comments

Current behavior While using Ultima theme primeng dropdown needs double click to select the value. Pushing Enter key works fine.

  • Angular version: 2.4.9

  • PrimeNG version: 2.0.4

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

vorenus181 avatar Mar 22 '17 11:03 vorenus181

I'm using Ultima and p-dropdown without problem. Can you send code for reproduce the error?

ernestomar avatar Mar 22 '17 15:03 ernestomar

I've already got solution. I was using getter function as items source of p-dropdown. With simple array property everything works fine. Thanks for your attention.

vorenus181 avatar Mar 22 '17 17:03 vorenus181

Hi,

This is still an issue.

https://stackblitz.com/edit/test-p-table-msxkby?file=package.json

I just updated the stackblitz to primeng 6. https://stackoverflow.com/questions/51720979/primeng-dropdown-needs-doubleclick-when-using-a-function-for-options

Is there a reason why getter shouldn't be used?

Thank you, Abann

abannsunny avatar Nov 05 '18 15:11 abannsunny

This needs to be resolved, what if we want to show options in for loop and according to the key?

i-amn avatar Nov 26 '18 11:11 i-amn

I just ran into this issue with version 6.1.4

MHacker9404 avatar Dec 19 '18 14:12 MHacker9404

For anyone facing the same problem, here's the solution: https://stackoverflow.com/a/72148712/114029

leniel avatar May 07 '22 01:05 leniel