{"action":"opened","issue":{"url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4875","repository_url":"https://api.github.com/repos/xamarin/Xamarin.Forms","labels_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4875/labels{/name}","comments_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4875/comments","events_url":"https://api.github.com/repos/xamarin/Xamarin.Forms/issues/4875/events","html_url":"https://github.com/xamarin/Xamarin.Forms/issues/4875","id":395013588,"node_id":"MDU6SXNzdWUzOTUwMTM1ODg=","number":4875,"title":"Height calculations for content within a layout not calculation correctly for wrapping content like flex and text","user":{"login":"pizzahead24","id":45768479,"node_id":"MDQ6VXNlcjQ1NzY4NDc5","avatar_url":"https://avatars1.githubusercontent.com/u/45768479?v=4","gravatar_id":"","url":"https://api.github.com/users/pizzahead24","html_url":"https://github.com/pizzahead24","followers_url":"https://api.github.com/users/pizzahead24/followers","following_url":"https://api.github.com/users/pizzahead24/following{/other_user}","gists_url":"https://api.github.com/users/pizzahead24/gists{/gist_id}","starred_url":"https://api.github.com/users/pizzahead24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pizzahead24/subscriptions","organizations_url":"https://api.github.com/users/pizzahead24/orgs","repos_url":"https://api.github.com/users/pizzahead24/repos","events_url":"https://api.github.com/users/pizzahead24/events{/privacy}","received_events_url":"https://api.github.com/users/pizzahead24/received_events","type":"User","site_admin":false},"labels":[{"id":343860851,"node_id":"MDU6TGFiZWwzNDM4NjA4NTE=","url":"https://api.github.com/repos/xamarin/Xamarin.Forms/labels/t/bug%20:bug:","name":"t/bug :bug:","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-31T17:57:35Z","updated_at":"2018-12-31T17:57:35Z","closed_at":null,"author_association":"NONE","body":"<!-- Bug report best practices: https://github.com/xamarin/Xamarin.Forms/wiki/Submitting-Issues -->\r\n\r\n### Description\r\nHeight calculations for content within a layout not calculation correctly for wrapping content like flex and text\r\n\r\n### Steps to Reproduce\r\n\r\nhttps://forums.xamarin.com/discussion/145900/long-label-with-word-wrap-doesnt-seem-to-auto-calculate-height-correctly#latest\r\n\r\nTo product the full blown error:\r\n\r\n1.) Create a flex layout. \r\n2.) Inside the layout create several other stack layouts Horizontal with title and value labels inside.  Create 5 of them and make the Text of them very long (look at the forum link above).\r\n3.) Now divide these content within so that when you grow and shrink the content will wrap into one column or two. What I did was split it up 3 - 3 left and right and have a flex basis on the left of 300. This should make the parent flex layout wrap the right side under once the width reaches 300.\r\n4.) When you grow and expand on UWP you can see the text gets cut off. You can also see the layout straight up wont expand all the way because the wrapping text height for some reason wont notify the parent layout to expand that much more.\r\n\r\n### Expected Behavior\r\n\r\nThe height of wrapping text and layouts should notify its parent to update its overall height and not cut things off.\r\n\r\n### Actual Behavior\r\n\r\ntext and content are being cut off by the height because the wrapping features are not updating the parent layouts height.\r\n\r\n### Basic Information\r\n\r\n- Version with issue: Latest Xamarin Forms 3.3\r\n- Affected Devices: All, but much easier to visibly watch the flex layout with UWP.\r\n\r\n### Screenshots\r\n\r\nPlease check out the forum link above.\r\n"}}
{"actor":{"display_login":"pizzahead24"}}