{"action":"created","issue":{"url":"https://api.github.com/repos/angular/flex-layout/issues/689","repository_url":"https://api.github.com/repos/angular/flex-layout","labels_url":"https://api.github.com/repos/angular/flex-layout/issues/689/labels{/name}","comments_url":"https://api.github.com/repos/angular/flex-layout/issues/689/comments","events_url":"https://api.github.com/repos/angular/flex-layout/issues/689/events","html_url":"https://github.com/angular/flex-layout/issues/689","id":307721165,"number":689,"title":"poll: what should be the default behavior for fxFlex?","user":{"login":"CaerusKaru","id":416563,"avatar_url":"https://avatars3.githubusercontent.com/u/416563?v=4","gravatar_id":"","url":"https://api.github.com/users/CaerusKaru","html_url":"https://github.com/CaerusKaru","followers_url":"https://api.github.com/users/CaerusKaru/followers","following_url":"https://api.github.com/users/CaerusKaru/following{/other_user}","gists_url":"https://api.github.com/users/CaerusKaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CaerusKaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaerusKaru/subscriptions","organizations_url":"https://api.github.com/users/CaerusKaru/orgs","repos_url":"https://api.github.com/users/CaerusKaru/repos","events_url":"https://api.github.com/users/CaerusKaru/events{/privacy}","received_events_url":"https://api.github.com/users/CaerusKaru/received_events","type":"User","site_admin":false},"labels":[{"id":795379530,"url":"https://api.github.com/repos/angular/flex-layout/labels/discussion","name":"discussion","color":"f9d0c4","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/angular/flex-layout/milestones/19","html_url":"https://github.com/angular/flex-layout/milestone/19","labels_url":"https://api.github.com/repos/angular/flex-layout/milestones/19/labels","id":3263061,"number":19,"title":"v6.0.0-beta.17","description":"More tuneups to the API and bug fixes","creator":{"login":"CaerusKaru","id":416563,"avatar_url":"https://avatars3.githubusercontent.com/u/416563?v=4","gravatar_id":"","url":"https://api.github.com/users/CaerusKaru","html_url":"https://github.com/CaerusKaru","followers_url":"https://api.github.com/users/CaerusKaru/followers","following_url":"https://api.github.com/users/CaerusKaru/following{/other_user}","gists_url":"https://api.github.com/users/CaerusKaru/gists{/gist_id}","starred_url":"https://api.github.com/users/CaerusKaru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CaerusKaru/subscriptions","organizations_url":"https://api.github.com/users/CaerusKaru/orgs","repos_url":"https://api.github.com/users/CaerusKaru/repos","events_url":"https://api.github.com/users/CaerusKaru/events{/privacy}","received_events_url":"https://api.github.com/users/CaerusKaru/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":0,"state":"open","created_at":"2018-04-12T19:13:16Z","updated_at":"2018-04-25T18:41:32Z","due_on":"2018-04-28T07:00:00Z","closed_at":null},"comments":24,"created_at":"2018-03-22T16:32:56Z","updated_at":"2018-05-02T03:13:49Z","closed_at":null,"author_association":"MEMBER","body":"This issue tracks the possibility of changing the default behavior for the `fxFlex` directive. Currently, the behavior is as follows:\r\n\r\n* When the input is an integer, this defaults to a percentage value input for `fxFlex`\r\n* When the input is any other singular value, it's interpreted as the intended `flex-basis` value and results in `flex: 1 1 <input>` with `min-width` and `max-width` applied (assuming row format)\r\n* When the input is three values, it's interpreted as a direct translation to the CSS `flex` property, with `min/max-width` applied according to the algorithm specified [here](https://github.com/angular/flex-layout/wiki/fxFlex-API#additional-fxflex-stylings)\r\n* When the input is longer than three values, it is truncated to the first three values\r\n\r\nI'll list some alternative options for `fxFlex` behavior below, please vote for your preferred option, or feel free to add your own. If you like the current behavior, please do not add comments, but simply vote for this comment."},"comment":{"url":"https://api.github.com/repos/angular/flex-layout/issues/comments/385853037","html_url":"https://github.com/angular/flex-layout/issues/689#issuecomment-385853037","issue_url":"https://api.github.com/repos/angular/flex-layout/issues/689","id":385853037,"user":{"login":"buu700","id":415435,"avatar_url":"https://avatars3.githubusercontent.com/u/415435?v=4","gravatar_id":"","url":"https://api.github.com/users/buu700","html_url":"https://github.com/buu700","followers_url":"https://api.github.com/users/buu700/followers","following_url":"https://api.github.com/users/buu700/following{/other_user}","gists_url":"https://api.github.com/users/buu700/gists{/gist_id}","starred_url":"https://api.github.com/users/buu700/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buu700/subscriptions","organizations_url":"https://api.github.com/users/buu700/orgs","repos_url":"https://api.github.com/users/buu700/repos","events_url":"https://api.github.com/users/buu700/events{/privacy}","received_events_url":"https://api.github.com/users/buu700/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T03:13:49Z","updated_at":"2018-05-02T03:13:49Z","author_association":"NONE","body":"@CaerusKaru, I just tested out the `ADD_FLEX_STYLES` workaround with 6.0.0-beta.15, and it didn't fully fix the problem. (Still have to do more extensive testing/comparison to determine the extent to which it did mitigate the problem, if at all.)\r\n\r\nLuckily @mtraynham's flex-basis trick seems to do the job for now."}}
{"actor":{"display_login":"buu700"}}