W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2013

[Bug 23585] FKA: when document.activeElement is hidden, it retains its status as document.activeElement, and therefore intercepts keyboard events as the event target

From: <bugzilla@jessica.w3.org>
Date: Tue, 22 Oct 2013 19:00:27 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-23585-2486-DlyHiffz4N@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23585

--- Comment #2 from James Craig <jcraig@apple.com> ---
That sounds like a hack to me, but either way, your use case can still be
achieved by setting the input's opacity to 0 or positioning it offscreen.
However, hidden (and display:none) elements are not rendered in any modality
and should therefore not be the document.activeElement or receive keyboard
events.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 22 October 2013 19:00:30 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 16:31:45 UTC