[MGNLUI-2113] ESCAPE keyboard handlers dont fire when focus is in page editor iframe (Webkit) Created: 16/Sep/13  Updated: 28/Oct/13  Resolved: 16/Sep/13

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.1
Fix Version/s: 5.1

Type: Bug Priority: Major
Reporter: Christopher Zimmermann Assignee: Christopher Zimmermann
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-847 Can't use keyboard to switch between ... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Sprint: 5.1 Beta1- Frontend

 Description   

ESCAPE key is used to exit move actions & to toggle preview & edit mode.
It works when focus is not in the page editor/page preview iframe, but does nothing when focus is inside.
In firefox it works fine.
Problem is probably in webkitFrameEventhandler#initNativeKeyListener is not properly passing keyboard events out of the frame into the parent.



 Comments   
Comment by Christopher Zimmermann [ 16/Sep/13 ]

Changed WebkitFrameEventHandler#initNativeKeyListener to listen for events on element.contentWindow.document instead of on element.

Generated at Mon Feb 12 08:53:19 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.