xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

Search bar width issue in horizontal stack layout iOS #3898

Open te-ch99 opened 6 years ago

te-ch99 commented 6 years ago

When adding a horizontal stack layout and adding a search bar and another control side by side, the search bar takes the whole width of the screen and the other control does not render. This is using Xam Forms 3.0.2.839982.

There is also another bug where if you put a height request on the stack layout that contains the search bar, the search bar does not render.

Steps to Reproduce

  1. Create a horizontal stack layout with a search bar and button side by side
  2. Run app, button is not visible
  3. Also add a height request to the stack layout. Now, search bar is not visible

Expected Behavior

The search bar and button should both be visible side by side

Actual Behavior

The button is not visible

Basic Information

Screenshots

Reproduction Link

Searchbar_Issue.zip

zizusoft commented 4 years ago

Is there a work around to resolve this issue?

Thanks

Gh0stC0de commented 3 years ago

Still an issue in version 5.0.0.2012 with iOS 14.4.

dzebas commented 3 years ago

Not going to be fixed?