tab key [message #515575] |
Fri, 19 February 2010 07:40  |
Eclipse User |
|
|
|
Hello Everybody,
Does anybody know if RAP intercepts the Tab-key event at javascript
side? Where to look at if it does?
I have a flash content, and when I press Tab - the focus goes away from
it. It happens only in Chrome. Provided that the "seamlesstabbing" was
set to false in flash params.
If I run the same content without RAP - the focus doesn't go out of the
flash content.
Thanks,
Dmitry
|
|
|
|
Re: tab key [message #517162 is a reply to message #515907] |
Fri, 26 February 2010 07:24  |
Eclipse User |
|
|
|
Hello Ivan,
I've found out a solution. I hook to
org.eclipse.rwt.AsyncKeyEventUtil.prototype.intercept and
org.eclipse.rwt.SyncKeyEventUtil.prototype.intercept - these handlers
are first places where the filtering starts.
Dmitry
Ivan Furnadjiev wrote:
> Hi Dmitry,
>
> if your flash content is wrapped in a custom widget (client side
> javascript widget), you can add a "keypress" listener to it and stop the
> propagation of the event if the "Tab" key is pressed.
>
> HTH,
> Ivan
>
> On 2/19/2010 2:40 PM, Dmitry Pryadkin wrote:
>> Hello Everybody,
>>
>> Does anybody know if RAP intercepts the Tab-key event at javascript
>> side? Where to look at if it does?
>>
>> I have a flash content, and when I press Tab - the focus goes away
>> from it. It happens only in Chrome. Provided that the
>> "seamlesstabbing" was set to false in flash params.
>>
>> If I run the same content without RAP - the focus doesn't go out of
>> the flash content.
>>
>> Thanks,
>>
>> Dmitry
|
|
|
Powered by
FUDForum. Page generated in 0.24838 seconds