xamarin/Xamarin.Forms

Unable to enter text into SearchBar placed inside ViewCell

Offen

#4.882 geöffnet am 02.01.2019

 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (1.926 Forks)batch import
a/listviewe/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository-Metriken

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

Beschreibung

Description

Placing a SearchBar inside a ViewCell causes the SearchBar to become unresponsive to taps, which makes it impossible to enter text into the SearchBar interactively.

Steps to Reproduce

  1. Create an Android app
  2. Create a ListView or TableView in a XAML page
  3. Put a SearchBar inside a ViewCell

Expected Behavior

SearchBars would work fine inside ViewCells.

Actual Behavior

Text cannot be entered into a SearchBar inside a ViewCell. Tapping the SearchBar does not focus the SearchBar and pop up the virtual keyboard.

Basic Information

  • Version with issue: 3.4.0.1008975
  • Last known good version: I tested back to 3.0 and the issue still happens there as well
  • IDE: VS 2017 15.9.4
  • Platform Target Frameworks:
    • Android: 28
  • Android Support Library Version: 28.0.0
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

SearchBar.zip

Contributor Guide