callstack / callstack/react-native-paper

TextInput only in mode="outlined" Prevent Scrolling Inside a ScrollView.

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

描述

The Bug is Simple TextInput with mode "outlined" prevent a scrolling of the screen, but if we change it to flat the scrolling works fine,

This happens because in mode "outlined" tries to scroll inside the TextInput not the actual scrollview...

setFieldValue(String(name), value)}
placeholder={textFormatter(name as string)}
placeholderTextColor={theme?.colors.inverseSurface}
height="48px"
/>

Can we take a look at it I don't now how the outlined is different from the flat mode

贡献指南

打开贡献指南

调研方向

首先,在 ScrollView 内使用 mode="outlined" 的 React Native TextInput 重现该问题,然后使用报告中的示例将其与 mode="flat" 进行比较。当 outlined TextInput 能够让周围的 ScrollView 在与 flat 模式相同的情况下滚动时,工作即完成。

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

评估

技术栈
react-native, typescript
领域
mobile
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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