{"action":"opened","issue":{"url":"https://api.github.com/repos/ElemeFE/element/issues/4830","repository_url":"https://api.github.com/repos/ElemeFE/element","labels_url":"https://api.github.com/repos/ElemeFE/element/issues/4830/labels{/name}","comments_url":"https://api.github.com/repos/ElemeFE/element/issues/4830/comments","events_url":"https://api.github.com/repos/ElemeFE/element/issues/4830/events","html_url":"https://github.com/ElemeFE/element/issues/4830","id":228215991,"number":4830,"title":"[Bug Report] Tabs","user":{"login":"Marsovski","id":9829014,"avatar_url":"https://avatars1.githubusercontent.com/u/9829014?v=3","gravatar_id":"","url":"https://api.github.com/users/Marsovski","html_url":"https://github.com/Marsovski","followers_url":"https://api.github.com/users/Marsovski/followers","following_url":"https://api.github.com/users/Marsovski/following{/other_user}","gists_url":"https://api.github.com/users/Marsovski/gists{/gist_id}","starred_url":"https://api.github.com/users/Marsovski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Marsovski/subscriptions","organizations_url":"https://api.github.com/users/Marsovski/orgs","repos_url":"https://api.github.com/users/Marsovski/repos","events_url":"https://api.github.com/users/Marsovski/events{/privacy}","received_events_url":"https://api.github.com/users/Marsovski/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-12T07:59:57Z","updated_at":"2017-05-12T07:59:57Z","closed_at":null,"body":"<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n\r\n### Element UI version\r\n1.3.2\r\n\r\n### OS/Browsers version\r\nAny\r\n\r\n### Vue version\r\n2.3.3\r\n\r\n### Steps to reproduce\r\nI have 2 components with different routes but the same Tab pane.\r\n\r\n```HTML\r\n<el-tabs v-model=\"routeActiveName\" @tab-click=\"goTo\">\r\n    <el-tab-pane label=\"TV CHANNELS\" name=\"tv\"></el-tab-pane>\r\n    <el-tab-pane label=\"RADIO CHANNELS\" name=\"radio\"></el-tab-pane>\r\n</el-tabs>\r\n```\r\n\r\nWhen i click from TV to RADIO CHANNELS i get this error:\r\n```console\r\n[Vue warn]: Error in updated hook: \r\n(found in <TabNav>)\r\nvue.common.js?e881:1449 TypeError: Cannot read property 'offsetWidth' of undefined\r\n    at VueComponent.update (eval at <anonymous> (app.js:3433), <anonymous>:16192:37)\r\n    at VueComponent.boundFn [as update] (eval at <anonymous> (app.js:729), <anonymous>:127:12)\r\n    at VueComponent.updated (eval at <anonymous> (app.js:3433), <anonymous>:16214:11)\r\n    at callHook (eval at <anonymous> (app.js:729), <anonymous>:2275:21)\r\n    at flushSchedulerQueue (eval at <anonymous> (app.js:729), <anonymous>:2359:7)\r\n    at Array.eval (eval at <anonymous> (app.js:729), <anonymous>:507:20)\r\n    at nextTickHandler (eval at <anonymous> (app.js:729), <anonymous>:456:16)\r\n    at <anonymous>\r\n```\r\n\r\nCan you help me?\r\n\r\n<!-- generated by https://eleme-issue.surge.sh DO NOT REMOVE -->\r\n"}}
{"actor":{"display_login":"Marsovski"}}