xamarin/Xamarin.Forms

Search bar width issue in horizontal stack layout iOS

Offen

#3.898 geöffnet am 25.09.2018

 (3 Kommentare) (1 Reaktion) (0 zugewiesene Personen)C# (1.926 Forks)batch import
3.0.0e/6 :clock6:help wantedi/regressionp/iOS 🍎t/bug :bug:up-for-grabs

Repository-Metriken

Stars
 (5.644 Sterne)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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

  • Version with issue: 3.0.2.839982
  • Last known good version: Unknown
  • IDE: VS for Mac
  • Platform Target Frameworks:
    • iOS: 11.4
    • Android: na
    • UWP: na
  • Android Support Library Version: na
  • Nuget Packages: Xamarin Forms
  • Affected Devices: iOS

Screenshots

Reproduction Link

Searchbar_Issue.zip

Contributor Guide