focus: do not allow focus to exit a popup
authorXavi Artigas <xavierartigas@yahoo.es>
Mon, 28 Jan 2019 17:35:44 +0000 (12:35 -0500)
committerTaehyub Kim <taehyub.kim@samsung.com>
Thu, 31 Jan 2019 02:11:42 +0000 (11:11 +0900)
Summary:
Popup windows dim the background and do not allow the user
to click outside the popup. However, pressing TAB can take
you to widgets on the background. This didn't happen in
legacy.

Fixes T7432

Test Plan: Instructions in T7432

Reviewers: bu5hm4n, stephenmhouston, Jaehyun_Cho, herb, Blackmole, zmike

Reviewed By: zmike

Subscribers: zmike, felipealmeida, lauromoura, cedric, #reviewers, #committers

Tags: #efl

Maniphest Tasks: T7432

Differential Revision: https://phab.enlightenment.org/D7171

src/lib/elementary/efl_ui_popup.eo

index 26d8597..e2946ad 100644 (file)
@@ -8,7 +8,7 @@ enum Efl.Ui.Popup_Align {
     bottom    [[Popup aligned to bottom]]
 }
 
-class Efl.Ui.Popup extends Efl.Ui.Layout implements Efl.Content
+class Efl.Ui.Popup extends Efl.Ui.Layout implements Efl.Content, Efl.Ui.Focus.Layer
 {
    [[EFL UI popup class]]
    methods {