SDK 4.16 enter key pressed => fires click mouse event

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SDK 4.16 enter key pressed => fires click mouse event

Maycon Oleczinski
Hi All.

We've this scenario: when button has focus and the enter key is pressed it fires click mouse event.

It's a behavior or bug?

A workarround adopted: validate position X and Y in mouse click event. When return NaN, presumes <enter>.

--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SDK 4.16 enter key pressed => fires click mouse event

Olaf Krueger
Don't know if this is a bug or feature.
Just setting focusEnabled="false" might also work but it removes the button from the tab order.

HTH,
Olaf
Loading...