{"comment":{"url":"https://api.github.com/repos/zxdgoal/yui3/comments/11349622","html_url":"https://github.com/zxdgoal/yui3/commit/f72d2655612e14014724289a13146c247b9e47cd#commitcomment-11349622","id":11349622,"user":{"login":"mairatma","id":5216049,"avatar_url":"https://avatars.githubusercontent.com/u/5216049?v=3","gravatar_id":"","url":"https://api.github.com/users/mairatma","html_url":"https://github.com/mairatma","followers_url":"https://api.github.com/users/mairatma/followers","following_url":"https://api.github.com/users/mairatma/following{/other_user}","gists_url":"https://api.github.com/users/mairatma/gists{/gist_id}","starred_url":"https://api.github.com/users/mairatma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mairatma/subscriptions","organizations_url":"https://api.github.com/users/mairatma/orgs","repos_url":"https://api.github.com/users/mairatma/repos","events_url":"https://api.github.com/users/mairatma/events{/privacy}","received_events_url":"https://api.github.com/users/mairatma/received_events","type":"User","site_admin":false},"position":14,"line":378,"path":"src/widget-modality/js/Widget-Modality.js","commit_id":"f72d2655612e14014724289a13146c247b9e47cd","created_at":"2015-05-25T12:41:25Z","updated_at":"2015-05-25T12:41:25Z","body":"Where does this \"dialog-iframe-node\" css class come from? Note that WidgetModality is part of the core of YUI and it doesn't know about dialogs or what css classes they use. We need to keep it generic so it will work with any code that uses it, not just one specific implementation of dialog.\r\n\r\nOne option that would work everywhere is to check if each iframe is outside the `boundingBox` before blocking focus to it."}}