{"action":"opened","issue":{"url":"https://api.github.com/repos/primefaces-extensions/primefaces-extensions.github.com/issues/536","repository_url":"https://api.github.com/repos/primefaces-extensions/primefaces-extensions.github.com","labels_url":"https://api.github.com/repos/primefaces-extensions/primefaces-extensions.github.com/issues/536/labels{/name}","comments_url":"https://api.github.com/repos/primefaces-extensions/primefaces-extensions.github.com/issues/536/comments","events_url":"https://api.github.com/repos/primefaces-extensions/primefaces-extensions.github.com/issues/536/events","html_url":"https://github.com/primefaces-extensions/primefaces-extensions.github.com/issues/536","id":307219273,"number":536,"title":"Layout: Deferred Renderer Issue","user":{"login":"melloware","id":4399574,"avatar_url":"https://avatars1.githubusercontent.com/u/4399574?v=4","gravatar_id":"","url":"https://api.github.com/users/melloware","html_url":"https://github.com/melloware","followers_url":"https://api.github.com/users/melloware/followers","following_url":"https://api.github.com/users/melloware/following{/other_user}","gists_url":"https://api.github.com/users/melloware/gists{/gist_id}","starred_url":"https://api.github.com/users/melloware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melloware/subscriptions","organizations_url":"https://api.github.com/users/melloware/orgs","repos_url":"https://api.github.com/users/melloware/repos","events_url":"https://api.github.com/users/melloware/events{/privacy}","received_events_url":"https://api.github.com/users/melloware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-21T12:10:21Z","updated_at":"2018-03-21T12:10:21Z","closed_at":null,"author_association":"MEMBER","body":"@tandraschko have another strange new one for you.  \r\n\r\n1. First go here: https://www.primefaces.org/showcase-ext/sections/layout/elementLayout.jsf\r\n\r\n2. Click the Switch Between Layouts button and then the layout appears.\r\n\r\nHere is what is happening in the Debugger.\r\n\r\n1. The Inner Layout is being called with renderDeferred() and the \":visible\" check is reporting false so then it falls back to finding the closest \"ui-hidden-container\" container which is NULL as there is none.\r\n\r\n2. The Outer Layout (the one for the whole showcase gets called) its attached to \"body\" so its \":visible\" check in renderDeferred returne true so its rendered.\r\n\r\n3. The Inner Layout is never draw because it was never attached to an OnShow handler in renderDeferred().\r\n\r\nThis was not broken before so I think it may also be related to MOVE_SCRIPTS_TO_BOTTOM.  Either way I am wonder if in DeferredRenderWidget the fallback if this.jq.closest('.ui-hidden-container') returns NULL that it attaches the OnShowHandler to 'body' which we know will be shown?\r\n\r\nThoughts?\r\n\r\n"}}
{"actor":{"display_login":"melloware"}}