callstack / callstack/react-native-paper

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

Offen
#4,390 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
14.5k
Forks
2.2k
Ø Merge
5 T. 23 Std.
Gemergte PRs (30 T.)
12

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by reproducing the issue with a React Native TextInput in mode="outlined" inside a ScrollView, then compare it with mode="flat" using the example from the report. The work is done when the outlined TextInput allows the surrounding ScrollView to scroll in the same situation as the flat mode.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
react-native, typescript
Bereich
mobile
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.