{"action":"created","issue":{"url":"https://api.github.com/repos/iview/iview/issues/5104","repository_url":"https://api.github.com/repos/iview/iview","labels_url":"https://api.github.com/repos/iview/iview/issues/5104/labels{/name}","comments_url":"https://api.github.com/repos/iview/iview/issues/5104/comments","events_url":"https://api.github.com/repos/iview/iview/issues/5104/events","html_url":"https://github.com/iview/iview/issues/5104","id":394333274,"node_id":"MDU6SXNzdWUzOTQzMzMyNzQ=","number":5104,"title":"[Bug Report] Two questions about the position of the modal box","user":{"login":"fayonline","id":14889489,"node_id":"MDQ6VXNlcjE0ODg5NDg5","avatar_url":"https://avatars1.githubusercontent.com/u/14889489?v=4","gravatar_id":"","url":"https://api.github.com/users/fayonline","html_url":"https://github.com/fayonline","followers_url":"https://api.github.com/users/fayonline/followers","following_url":"https://api.github.com/users/fayonline/following{/other_user}","gists_url":"https://api.github.com/users/fayonline/gists{/gist_id}","starred_url":"https://api.github.com/users/fayonline/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fayonline/subscriptions","organizations_url":"https://api.github.com/users/fayonline/orgs","repos_url":"https://api.github.com/users/fayonline/repos","events_url":"https://api.github.com/users/fayonline/events{/privacy}","received_events_url":"https://api.github.com/users/fayonline/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-27T08:46:12Z","updated_at":"2018-12-29T02:32:35Z","closed_at":"2018-12-27T08:58:14Z","author_association":"NONE","body":"### Environment\r\nmacOS Mojave 10.14.2/chrome 71.0.3578.98（正式版本）（64 )/ iview 3.2.1\r\n\r\n### Reproduction link\r\n[https://run.iviewui.com/eAoAtxWn](https://run.iviewui.com/GkSdshwO)\r\n\r\n### Steps to reproduce\r\nQ1: Drag the mode box to the edge of the browser display area until it is fully covered.\r\nQ2: Close a modal box that has been adjusted, and then open the modal box.\r\n\r\n### What is expected?\r\n1. The modal box cannot be dragged beyond the top edge of the screen, and the left, right, and bottom portions can be partially exceeded, but ensure that the header section of the modal box retains a portion of the visible area.\r\n2. Close a modal box that has been adjusted, and then open the modal box, I want the position of the modal box to return to the default position.\r\n\r\n\r\n### What is actually happening?\r\n1.The modal box can be dragged to the edge of the browser display area until it is covered, but it can't be dragged out again.\r\n2.Close a modal box that has been adjusted, and then open the modal box, the modal box is still in the last set position.\r\n\r\n<!-- generated by iview-issues. DO NOT REMOVE -->"},"comment":{"url":"https://api.github.com/repos/iview/iview/issues/comments/450458154","html_url":"https://github.com/iview/iview/issues/5104#issuecomment-450458154","issue_url":"https://api.github.com/repos/iview/iview/issues/5104","id":450458154,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDQ1ODE1NA==","user":{"login":"tianzzq0","id":20208875,"node_id":"MDQ6VXNlcjIwMjA4ODc1","avatar_url":"https://avatars0.githubusercontent.com/u/20208875?v=4","gravatar_id":"","url":"https://api.github.com/users/tianzzq0","html_url":"https://github.com/tianzzq0","followers_url":"https://api.github.com/users/tianzzq0/followers","following_url":"https://api.github.com/users/tianzzq0/following{/other_user}","gists_url":"https://api.github.com/users/tianzzq0/gists{/gist_id}","starred_url":"https://api.github.com/users/tianzzq0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tianzzq0/subscriptions","organizations_url":"https://api.github.com/users/tianzzq0/orgs","repos_url":"https://api.github.com/users/tianzzq0/repos","events_url":"https://api.github.com/users/tianzzq0/events{/privacy}","received_events_url":"https://api.github.com/users/tianzzq0/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T02:32:35Z","updated_at":"2018-12-29T02:32:35Z","author_association":"NONE","body":"我想很多人都遇到了这个问题，可拖拽部分拖出浏览器可视范围之外确实不是很多人想要的功能，比起自己封装，iview解决了不是更好吗"}}
{"actor":{"display_login":"tianzzq0"}}