{"action":"opened","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/2862","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/2862/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/2862/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/2862/events","html_url":"https://github.com/callemall/material-ui/issues/2862","id":125784581,"number":2862,"title":"[LeftNav] Improve FPS when swiping","user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars.githubusercontent.com/u/3165635?v=3","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/callemall/material-ui/labels/Performance","name":"Performance","color":"eb6420"},{"url":"https://api.github.com/repos/callemall/material-ui/labels/up%20for%20grabs","name":"up for grabs","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-09T22:09:21Z","updated_at":"2016-01-09T22:09:21Z","closed_at":null,"body":"As it's well explains by google: https://developers.google.com/web/fundamentals/performance/rendering/optimize-javascript-execution?hl=en. We should use the `requestAnimationFrame()` API for reflecting visual changes when the user is draging. \r\nOne possible implementation is this one:\r\nhttps://github.com/callemall/material-ui/blob/master/src/slider.jsx#L331"}}