xamarin/Xamarin.Forms

Unable to enter text into SearchBar placed inside ViewCell

オープン

#4,882 opened on 2019/01/02

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/listviewe/3 :clock3:help wantedinactivep/Androidt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド