{"action":"created","issue":{"url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/35","labels_url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/35/comments","events_url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/35/events","html_url":"https://github.com/PolymerElements/paper-fab/issues/35","id":111537753,"number":35,"title":"FAB Button elevation is not compliant with Material Design Guidance and there is no way to set an elevation ","user":{"login":"patrinhani-ciandt","id":5272569,"avatar_url":"https://avatars.githubusercontent.com/u/5272569?v=3","gravatar_id":"","url":"https://api.github.com/users/patrinhani-ciandt","html_url":"https://github.com/patrinhani-ciandt","followers_url":"https://api.github.com/users/patrinhani-ciandt/followers","following_url":"https://api.github.com/users/patrinhani-ciandt/following{/other_user}","gists_url":"https://api.github.com/users/patrinhani-ciandt/gists{/gist_id}","starred_url":"https://api.github.com/users/patrinhani-ciandt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrinhani-ciandt/subscriptions","organizations_url":"https://api.github.com/users/patrinhani-ciandt/orgs","repos_url":"https://api.github.com/users/patrinhani-ciandt/repos","events_url":"https://api.github.com/users/patrinhani-ciandt/events{/privacy}","received_events_url":"https://api.github.com/users/patrinhani-ciandt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PolymerElements/paper-fab/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"notwaldorf","id":1369170,"avatar_url":"https://avatars.githubusercontent.com/u/1369170?v=3","gravatar_id":"","url":"https://api.github.com/users/notwaldorf","html_url":"https://github.com/notwaldorf","followers_url":"https://api.github.com/users/notwaldorf/followers","following_url":"https://api.github.com/users/notwaldorf/following{/other_user}","gists_url":"https://api.github.com/users/notwaldorf/gists{/gist_id}","starred_url":"https://api.github.com/users/notwaldorf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/notwaldorf/subscriptions","organizations_url":"https://api.github.com/users/notwaldorf/orgs","repos_url":"https://api.github.com/users/notwaldorf/repos","events_url":"https://api.github.com/users/notwaldorf/events{/privacy}","received_events_url":"https://api.github.com/users/notwaldorf/received_events","type":"User","site_admin":false},"milestone":null,"comments":12,"created_at":"2015-10-15T03:18:13Z","updated_at":"2015-10-21T20:37:55Z","closed_at":null,"body":"FAB Button elevation is not compliant with Material Design Guidelines and there is no way to set an elevation using the component.\r\n\r\nElevation and shadow specification on Material design guide lines:\r\nhttp://www.google.com.br/design/spec/what-is-material/elevation-shadows.html#elevation-shadows-shadows"},"comment":{"url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/comments/150017552","html_url":"https://github.com/PolymerElements/paper-fab/issues/35#issuecomment-150017552","issue_url":"https://api.github.com/repos/PolymerElements/paper-fab/issues/35","id":150017552,"user":{"login":"southp4w","id":5342330,"avatar_url":"https://avatars.githubusercontent.com/u/5342330?v=3","gravatar_id":"","url":"https://api.github.com/users/southp4w","html_url":"https://github.com/southp4w","followers_url":"https://api.github.com/users/southp4w/followers","following_url":"https://api.github.com/users/southp4w/following{/other_user}","gists_url":"https://api.github.com/users/southp4w/gists{/gist_id}","starred_url":"https://api.github.com/users/southp4w/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/southp4w/subscriptions","organizations_url":"https://api.github.com/users/southp4w/orgs","repos_url":"https://api.github.com/users/southp4w/repos","events_url":"https://api.github.com/users/southp4w/events{/privacy}","received_events_url":"https://api.github.com/users/southp4w/received_events","type":"User","site_admin":false},"created_at":"2015-10-21T20:37:55Z","updated_at":"2015-10-21T20:37:55Z","body":"@cdata I think the core problem is that `paper-button-behavior` configures the `elevation` property with `reflectToAttribute: true` So when anything is done to the `elevation` property (e.g. via `_calculateElevation`), the result gets reflected, and overwrites the value in the host attribute which in this case is `paper-fab`\r\n\r\nThe functional result is that setting the `elevation` attribute on `paper-fab` has no effect; it will always be reset to 1 via the default in `paper-button-behavior`\r\n\r\nYou can see this in @notwaldorf 's demo where the second `paper-fab` is defined with `elevation=5` but  the element is rendered with `elevation=1`. \r\n\r\nIt would be great to know why `paper-button-behavior`'s `elevation` needs to reflect-to-attribute, as I couldn't understand the motivation for its introduction in the commit in which it was introduced (PolymerElements/paper-behaviors@fbc6b9860ce365753744f9ca1c1fb905a3dfbade) \r\n"}}