openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

Focus change after enter press in form field (IE only)

Open Frank683 opened this issue 11 years ago • 2 comments

I tested this behavior in latest Firefox (41.0.2) and Chrome (46.0.2490.80 m) and Internet Explorer 10.0.9200.17159

Used versions of the framework: SAPUI5 1.30.6 and OpenUI5 1.32.4

It can only be reproduced in IE. The other tested browsers don't show this behavior.

Please have a look at this example on jsbin

When the enter key is pressed while the cursor is in the input field of the detail view the focus caret will move to the button located at the bottom of the master view.

In my particular application this is really annyoing because the button is the logout button!

Frank683 avatar Oct 30 '15 22:10 Frank683

Thanks for reporting. I could reproduce this issue as described in IE10. I will forward to the responsible developer to have a look. Internal reference: 1580199854

ghost avatar Nov 02 '15 11:11 ghost

The same happens in IE10 with the following plain HTML page:

<!DOCTYPE html><html><body><input><button>Button</button></html>

Apparently, IE10 handles inputs and buttons as being inside of a <form> element.

As it is already corrected in IE11, we take no further action.

ulasenka avatar Nov 18 '15 12:11 ulasenka