{"action":"created","issue":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3080","labels_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3080/labels{/name}","comments_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3080/comments","events_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3080/events","html_url":"https://github.com/angular-ui/bootstrap/issues/3080","id":51536390,"number":3080,"title":"ui.bootstrap.collapse animation jumps when padding is added to element to be toggled","user":{"login":"Waterstraal","id":2691730,"avatar_url":"https://avatars.githubusercontent.com/u/2691730?v=3","gravatar_id":"","url":"https://api.github.com/users/Waterstraal","html_url":"https://github.com/Waterstraal","followers_url":"https://api.github.com/users/Waterstraal/followers","following_url":"https://api.github.com/users/Waterstraal/following{/other_user}","gists_url":"https://api.github.com/users/Waterstraal/gists{/gist_id}","starred_url":"https://api.github.com/users/Waterstraal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Waterstraal/subscriptions","organizations_url":"https://api.github.com/users/Waterstraal/orgs","repos_url":"https://api.github.com/users/Waterstraal/repos","events_url":"https://api.github.com/users/Waterstraal/events{/privacy}","received_events_url":"https://api.github.com/users/Waterstraal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/component:%20collapse","name":"component: collapse","color":"ffffff"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/PRs%20plz!","name":"PRs plz!","color":"02d7e1"},{"url":"https://api.github.com/repos/angular-ui/bootstrap/labels/type:%20enhancement","name":"type: enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2014-12-10T09:32:53Z","updated_at":"2015-02-04T16:02:39Z","closed_at":null,"body":"When using the collapse directive on an element that has padding on it, the animation is not smooth but jumps the remaining padded pixels.\r\n\r\nI have prepared a plnkr demonstrating the issue: http://plnkr.co/edit/iHZHPYRgGdbouRUyh5xn?p=preview"},"comment":{"url":"https://api.github.com/repos/angular-ui/bootstrap/issues/comments/72881301","html_url":"https://github.com/angular-ui/bootstrap/issues/3080#issuecomment-72881301","issue_url":"https://api.github.com/repos/angular-ui/bootstrap/issues/3080","id":72881301,"user":{"login":"adriantg","id":307919,"avatar_url":"https://avatars.githubusercontent.com/u/307919?v=3","gravatar_id":"","url":"https://api.github.com/users/adriantg","html_url":"https://github.com/adriantg","followers_url":"https://api.github.com/users/adriantg/followers","following_url":"https://api.github.com/users/adriantg/following{/other_user}","gists_url":"https://api.github.com/users/adriantg/gists{/gist_id}","starred_url":"https://api.github.com/users/adriantg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriantg/subscriptions","organizations_url":"https://api.github.com/users/adriantg/orgs","repos_url":"https://api.github.com/users/adriantg/repos","events_url":"https://api.github.com/users/adriantg/events{/privacy}","received_events_url":"https://api.github.com/users/adriantg/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T16:02:39Z","updated_at":"2015-02-04T16:02:39Z","body":"I have the same problem... At the moment, I solve this issue replacing the original padding in another div as \"container\" with this padding. Btw I had to remove the padding."}}