{"action":"opened","issue":{"url":"https://api.github.com/repos/vuetifyjs/vuetify/issues/4735","repository_url":"https://api.github.com/repos/vuetifyjs/vuetify","labels_url":"https://api.github.com/repos/vuetifyjs/vuetify/issues/4735/labels{/name}","comments_url":"https://api.github.com/repos/vuetifyjs/vuetify/issues/4735/comments","events_url":"https://api.github.com/repos/vuetifyjs/vuetify/issues/4735/events","html_url":"https://github.com/vuetifyjs/vuetify/issues/4735","id":345294891,"node_id":"MDU6SXNzdWUzNDUyOTQ4OTE=","number":4735,"title":"Setting active tab after removing an tab from array causes selection offset","user":{"login":"Shimaeko","id":27827979,"node_id":"MDQ6VXNlcjI3ODI3OTc5","avatar_url":"https://avatars1.githubusercontent.com/u/27827979?v=4","gravatar_id":"","url":"https://api.github.com/users/Shimaeko","html_url":"https://github.com/Shimaeko","followers_url":"https://api.github.com/users/Shimaeko/followers","following_url":"https://api.github.com/users/Shimaeko/following{/other_user}","gists_url":"https://api.github.com/users/Shimaeko/gists{/gist_id}","starred_url":"https://api.github.com/users/Shimaeko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shimaeko/subscriptions","organizations_url":"https://api.github.com/users/Shimaeko/orgs","repos_url":"https://api.github.com/users/Shimaeko/repos","events_url":"https://api.github.com/users/Shimaeko/events{/privacy}","received_events_url":"https://api.github.com/users/Shimaeko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-27T16:46:26Z","updated_at":"2018-07-27T16:46:26Z","closed_at":null,"author_association":"NONE","body":"<!--\r\nBefore submitting an issue:\r\n  Search the repo and ensure your issue doesn't already exist. If so, it may:\r\n    - Have already been fixed in an unreleased version.\r\n    - Have been closed without a solution. Please create a new issue instead of commenting on the old one.\r\n  Create a minimal reproduction to illustrate the issue.\r\n    Do not include any more than is needed to reproduce the bug\r\n    Here's a CodePen template to start you off: https://template.vuetifyjs.com\r\n\r\nYou may remove sections if they aren't relevant, but please supply as much information as possible. Incomplete issues will be closed.\r\n-->\r\n\r\n<!-- not from package.json, use console.log(Vuetify.version) -->\r\n### Versions and Environment\r\nVuetify: 1.1.8\r\nVue: 2.5.16\r\nBrowsers: Chrome v68\r\nOS: Windows 10\r\n\r\n### Steps to reproduce\r\n<!-- What should we do to your link to make the bug happen? -->\r\nClick on an X button to close a tab. (as noted below, closing the last tab functions properly)\r\n\r\n### Expected Behavior\r\n<!-- What did you expect to happen? -->\r\nThe tab should close and the last tab should be selected.\r\n\r\n### Actual Behavior\r\n<!-- What actually happened? -->\r\nThe slider bar selects the correct tab However the active tab is the 1 index behind. When clicking the tab with the slider, it behaves as if it was the active tab (nothing happens).\r\n\r\n### Reproduction Link\r\n<!-- Required, see above for information -->\r\n[https://codepen.io/MajesticPotatoe/pen/rrGoEG](https://codepen.io/MajesticPotatoe/pen/rrGoEG)\r\n\r\n---\r\n<!-- OPTIONAL: -->\r\n### Additional Comments:\r\nThis behavior does not happen when iterating through active tabs (like in docs) or if you remove the last tab. Have also tried doing async/await but everything seems to debug as if its functioning normally.\r\n\r\nOne thing to note that may need a new ticket is that if you remove all of the tabs from the array, the slider bar still remains."}}
{"actor":{"display_login":"Shimaeko"}}