{"action":"created","issue":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/1173","repository_url":"https://api.github.com/repos/primefaces/primefaces","labels_url":"https://api.github.com/repos/primefaces/primefaces/issues/1173/labels{/name}","comments_url":"https://api.github.com/repos/primefaces/primefaces/issues/1173/comments","events_url":"https://api.github.com/repos/primefaces/primefaces/issues/1173/events","html_url":"https://github.com/primefaces/primefaces/issues/1173","id":135202816,"number":1173,"title":"Dialog scroll issue","user":{"login":"fx89","id":16502403,"avatar_url":"https://avatars.githubusercontent.com/u/16502403?v=3","gravatar_id":"","url":"https://api.github.com/users/fx89","html_url":"https://github.com/fx89","followers_url":"https://api.github.com/users/fx89/followers","following_url":"https://api.github.com/users/fx89/following{/other_user}","gists_url":"https://api.github.com/users/fx89/gists{/gist_id}","starred_url":"https://api.github.com/users/fx89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fx89/subscriptions","organizations_url":"https://api.github.com/users/fx89/orgs","repos_url":"https://api.github.com/users/fx89/repos","events_url":"https://api.github.com/users/fx89/events{/privacy}","received_events_url":"https://api.github.com/users/fx89/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-21T12:54:25Z","updated_at":"2016-03-04T05:35:43Z","closed_at":null,"body":"There are a couple of issues involving a modal dialog appearing over a scrollable page.\r\n\r\n1. When the scroll content covers more than two window heights, the dialog doesn't appear at all\r\n\r\n2. If the dialog has selectOneMenu's or autocomplete's or any other control which requires overlays for selecting options, scrolling the page (i.e. using the mouse wheel) also scrolls the overlays along with the page content residing under the modal dialog\r\n\r\nI have added the project in which I have replicated the issue to GitHub: [https://github.com/fx89/primefaces-issues-demo/tree/master/modal-dialog-scroll-issue](https://github.com/fx89/primefaces-issues-demo/tree/master/modal-dialog-scroll-issue)\r\n\r\n\r\nSteps to reproduce: \r\n- Create a page with a lot of content\r\n- Add a modal dialog which contains a selectOneMenu or an autoComplete menu\r\n- Start the app, push the button to show the dialog\r\n- Notice that the dialog will not appear anywhere on the page (you may also scroll down trying to look for it but it will not be there - may have something to do with the fixed position of the dialog)\r\n- Add javascript code to the \"onclick\" event of the button to set the top position of the dialog and try again\r\n- Attempt to fill in the control so that the options overlay appears\r\n- Do not choose any option. Instead, scroll the page using the mouse wheel\r\n\r\n\r\nRelevant screen shots from the demo project:\r\n\r\n![page1](https://cloud.githubusercontent.com/assets/16502403/13202547/73196c5e-d8a7-11e5-82f2-ffd4a108ade9.png)\r\n\r\n![page2](https://cloud.githubusercontent.com/assets/16502403/13202635/ffb318f2-d8a9-11e5-8a5b-a35cfade7867.png)\r\n\r\n![page3](https://cloud.githubusercontent.com/assets/16502403/13202645/8ce24608-d8aa-11e5-95cd-89d9e6dac753.png)\r\n\r\n\r\nPS: Didn't try it but I believe the same behaviour may be observed with non-modal dialogs\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/primefaces/primefaces/issues/comments/192113137","html_url":"https://github.com/primefaces/primefaces/issues/1173#issuecomment-192113137","issue_url":"https://api.github.com/repos/primefaces/primefaces/issues/1173","id":192113137,"user":{"login":"jxmai","id":10467831,"avatar_url":"https://avatars.githubusercontent.com/u/10467831?v=3","gravatar_id":"","url":"https://api.github.com/users/jxmai","html_url":"https://github.com/jxmai","followers_url":"https://api.github.com/users/jxmai/followers","following_url":"https://api.github.com/users/jxmai/following{/other_user}","gists_url":"https://api.github.com/users/jxmai/gists{/gist_id}","starred_url":"https://api.github.com/users/jxmai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jxmai/subscriptions","organizations_url":"https://api.github.com/users/jxmai/orgs","repos_url":"https://api.github.com/users/jxmai/repos","events_url":"https://api.github.com/users/jxmai/events{/privacy}","received_events_url":"https://api.github.com/users/jxmai/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T05:35:43Z","updated_at":"2016-03-04T05:35:43Z","body":"I get your point. The only workaround without any trick I can think of is by reducing the menu height or by increasing the dialog height, but that's not a final solution as you already described.\r\n\r\nLet's wait and see how Primefaces team will response to this issue then.  "}}