{"action":"created","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/300","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/300/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/300/events","html_url":"https://github.com/ElemeFE/element/pull/300","id":181939898,"number":300,"title":"Tooltip/Popover: adjust the element to body, fixed #296","user":{"login":"QingWei-Li","id":7565692,"avatar_url":"https://avatars.githubusercontent.com/u/7565692?v=3","gravatar_id":"","url":"https://api.github.com/users/QingWei-Li","html_url":"https://github.com/QingWei-Li","followers_url":"https://api.github.com/users/QingWei-Li/followers","following_url":"https://api.github.com/users/QingWei-Li/following{/other_user}","gists_url":"https://api.github.com/users/QingWei-Li/gists{/gist_id}","starred_url":"https://api.github.com/users/QingWei-Li/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/QingWei-Li/subscriptions","organizations_url":"https://api.github.com/users/QingWei-Li/orgs","repos_url":"https://api.github.com/users/QingWei-Li/repos","events_url":"https://api.github.com/users/QingWei-Li/events{/privacy}","received_events_url":"https://api.github.com/users/QingWei-Li/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-10T05:35:34Z","updated_at":"2016-10-12T07:08:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ElemeFE/element/pulls/300","html_url":"https://github.com/ElemeFE/element/pull/300","diff_url":"https://github.com/ElemeFE/element/pull/300.diff","patch_url":"https://github.com/ElemeFE/element/pull/300.patch"},"body":"Please makes sure these boxes are checked before submitting your PR, thank you!\r\n\r\n* [ ] Make sure you follow Element's [Contributing Guide](https://github.com/ElemeFE/element/blob/master/.github/CONTRIBUTING.md).\r\n* [ ] Rebase before creating a PR to keep commit history clear.\r\n* [ ] Add some descriptions and refer relative issues for you PR.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ElemeFE/element/issues/comments/253136054","html_url":"https://github.com/ElemeFE/element/pull/300#issuecomment-253136054","issue_url":"https://api.github.com/repos/ElemeFE/element/issues/300","id":253136054,"user":{"login":"acelan86","id":1452771,"avatar_url":"https://avatars.githubusercontent.com/u/1452771?v=3","gravatar_id":"","url":"https://api.github.com/users/acelan86","html_url":"https://github.com/acelan86","followers_url":"https://api.github.com/users/acelan86/followers","following_url":"https://api.github.com/users/acelan86/following{/other_user}","gists_url":"https://api.github.com/users/acelan86/gists{/gist_id}","starred_url":"https://api.github.com/users/acelan86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acelan86/subscriptions","organizations_url":"https://api.github.com/users/acelan86/orgs","repos_url":"https://api.github.com/users/acelan86/repos","events_url":"https://api.github.com/users/acelan86/events{/privacy}","received_events_url":"https://api.github.com/users/acelan86/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T07:08:19Z","updated_at":"2016-10-12T07:08:19Z","body":"问题1：\r\nselect-dropdown.vue里面的这两句阻止了它使用vue-popper来混入进行定位，无法挂到body中\r\n```javascript\r\nthis.$on('updatePopper', _ => { this.showPopper = true; });\r\nthis.$on('destroyPopper', _ => { this.showPopper = false; });\r\n```\r\n我改成了\r\n```javascript\r\nthis.$on('updatePopper', _ => { this.updatePopper() })\r\nthis.$on('destroyPopper', _ => { this.destroyPopper() })\r\n```\r\n不知道为什么this.showPopper = true 没有走vue-popper的watcher？\r\n\r\n问题2：\r\nselect.vue中mouted的时候没有设置poperElm，和referenceElm，导致clickoutside失效，点击无法回收\r\n\r\n问题3：\r\npopper工作好像不正常了，正在排查，估计跟1问题一样。因为没有被挂在body\r\n\r\n"}}
{"actor":{"display_login":"acelan86"}}