callstack / callstack/react-native-paper

SearchBar's clearIcon to have ability to always stay visible

未关闭
#4,424 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
TypeScript
星标
14.5k
派生
2.2k
平均合并
5 天 23 小时
30 天内合并 PR
12

描述

**Is your feature request related to a problem? Please describe.**
The simple task of always showing the clearIcon even when no text is input.

**Describe the solution you'd like**
An "alwaysShowClearIcon" boolean prop on the SearchBar component.

**Describe alternatives you've considered**
Using the "right" prop and custom "icon" props.

贡献指南

打开贡献指南

调研方向

从 SearchBar 组件开始,检查输入为空时如何确定 clearIcon 的可见性。添加所请求的 alwaysShowClearIcon 选项,并验证没有文本时清除图标仍保持可见,同时在不使用该选项时保留现有行为。

由索引模型根据 Issue 内容生成。

评估

技术栈
react-native, typescript
领域
mobile
Issue 类型
功能
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
描述清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。