{"action":"created","issue":{"url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/134","repository_url":"https://api.github.com/repos/biig-io/ngx-smart-modal","labels_url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/134/comments","events_url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/134/events","html_url":"https://github.com/biig-io/ngx-smart-modal/issues/134","id":352771600,"node_id":"MDU6SXNzdWUzNTI3NzE2MDA=","number":134,"title":"How to switch back modal position to absolute position from app's level instead of parent's level ?","user":{"login":"chanai-m","id":422027,"node_id":"MDQ6VXNlcjQyMjAyNw==","avatar_url":"https://avatars1.githubusercontent.com/u/422027?v=4","gravatar_id":"","url":"https://api.github.com/users/chanai-m","html_url":"https://github.com/chanai-m","followers_url":"https://api.github.com/users/chanai-m/followers","following_url":"https://api.github.com/users/chanai-m/following{/other_user}","gists_url":"https://api.github.com/users/chanai-m/gists{/gist_id}","starred_url":"https://api.github.com/users/chanai-m/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chanai-m/subscriptions","organizations_url":"https://api.github.com/users/chanai-m/orgs","repos_url":"https://api.github.com/users/chanai-m/repos","events_url":"https://api.github.com/users/chanai-m/events{/privacy}","received_events_url":"https://api.github.com/users/chanai-m/received_events","type":"User","site_admin":false},"labels":[{"id":658052799,"node_id":"MDU6TGFiZWw2NTgwNTI3OTk=","url":"https://api.github.com/repos/biig-io/ngx-smart-modal/labels/flag:%20can%20be%20closed%20?","name":"flag: can be closed ?","color":"5319e7","default":false},{"id":631555952,"node_id":"MDU6TGFiZWw2MzE1NTU5NTI=","url":"https://api.github.com/repos/biig-io/ngx-smart-modal/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-08-22T01:53:36Z","updated_at":"2018-10-22T16:41:35Z","closed_at":null,"author_association":"NONE","body":"<!-- IF YOU DO NOT FILL THIS OUT, WE WILL CLOSE YOUR ISSUE! -->\r\n\r\n**I'm submitting a ...**  (check one with \"x\")\r\n```\r\n[x] bug report => search github for a similar issue or PR before submitting\r\n[ ] feature request\r\n[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter\r\n```\r\n\r\n**Current behavior**\r\nI have upgrade ngx-smart-modal from v5.x to 7.x and found that position of my modals changes how it looks from v5.x which is using layout from app's position to using layout from parent's position.\r\n\r\nMy components structure design is stacked and able to call infinite. \r\nFor example\r\n    -Staff list component\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Show staff info\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Show department list component\r\n    -Department list component\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Show department info\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Show staff list component\r\n    -App root\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-Show staff list component\r\nso it will recursive call each other on click event.\r\nPlease take a look sample, In staff list choose 1 staff it will popup department list, Choose 1 department it will popup staff list and so on.\r\nhttps://plnkr.co/l5snyhlMgsIkjODTTobt\r\n\r\nAfter i changed to v7.x when using modal inside modal it will show inside main modal instead of app's position.\r\nhttps://plnkr.co/WQw0fC6x5mcF7WB03lV2\r\nAlso i tried to use \"target\" but still not working.\r\nhttps://plnkr.co/Ag5nLm\r\n\r\n**Expected behavior**\r\nPlease take a look on my plnk for v5.x when using modal inside modal it will show in layout of app's position. \r\nhttps://plnkr.co/l5snyhlMgsIkjODTTobt\r\n"},"comment":{"url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/comments/431891642","html_url":"https://github.com/biig-io/ngx-smart-modal/issues/134#issuecomment-431891642","issue_url":"https://api.github.com/repos/biig-io/ngx-smart-modal/issues/134","id":431891642,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTg5MTY0Mg==","user":{"login":"maximelafarie","id":5319267,"node_id":"MDQ6VXNlcjUzMTkyNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/5319267?v=4","gravatar_id":"","url":"https://api.github.com/users/maximelafarie","html_url":"https://github.com/maximelafarie","followers_url":"https://api.github.com/users/maximelafarie/followers","following_url":"https://api.github.com/users/maximelafarie/following{/other_user}","gists_url":"https://api.github.com/users/maximelafarie/gists{/gist_id}","starred_url":"https://api.github.com/users/maximelafarie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maximelafarie/subscriptions","organizations_url":"https://api.github.com/users/maximelafarie/orgs","repos_url":"https://api.github.com/users/maximelafarie/repos","events_url":"https://api.github.com/users/maximelafarie/events{/privacy}","received_events_url":"https://api.github.com/users/maximelafarie/received_events","type":"User","site_admin":false},"created_at":"2018-10-22T16:41:35Z","updated_at":"2018-10-22T16:41:35Z","author_association":"MEMBER","body":"Hi @chanai-m! Did you succeed to fix your issue? 😄 I'm sorry I tried each of your plunkr and the only solution I found is to change your implementations of the modal. 😕 "}}
{"actor":{"display_login":"maximelafarie"}}