xamarin/Xamarin.Forms

Unable to enter text into SearchBar placed inside ViewCell

Ouverte

#4 882 ouverte le 2 janv. 2019

 (0 commentaire) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/listviewe/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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

Guide contributeur