|Backspace in non editable textfield triggers browser action [message #820546]
||Wed, 14 March 2012 05:11
| Sabine Neubauer
Registered: June 2011
in our application (based on RAP 1.4) there are several text fields which are enabled but not editable. In this way we provide the possiblity to mark the content of these fields in order to copy it.
If a non editable text field is focused and an user presses "backspace" the browser jumps back to the former shown side (default browser action). This behavior is not really intuitive and has changed since RAP 1.1. I found the bugzilla issue 178320 ([Key-Events] Disable browser key shortcuts like Backspace in RAP) concerning this "problem" which was fixed for RAP 1.1.1
Is the current behavior desired or is this a regression/bug?
I have already tested RAP 1.5 M5 but the behavior is the same as in 1.4. Using RWT.CANCEL_KEYS is not sufficient in our use case, because the editable state depends on a certain selection and if it changes a little gap where the key event leads to the browser action seems to exist.
Powered by FUDForum
. Page generated in 0.01400 seconds