he jQuery.wikibase.***view widgets (.e.g "valueview") should not be interpreting the "enter" key or "esc" keys being pressed as the user's wish to leave the edit mode. This logic should be implemented in the code instantiating the widgets.
This current behavior can be a problem when the widgets should be used on their own, e.g. on a special page where they shall remain in edit mode all of the time. It seems like we designed the widgets too smart while this should better be left to the respective controller depending on the use-case.
Changing this and introducing some sort of "focus management" in case of the entity view use-case would be the way to go.
Version: unspecified
Severity: normal
Whiteboard: u=dev c=frontend p=0