Comments (1)
@TimToller In this case you would have to have the first child of the ScrollView
be a View
with a prop of onStartShouldSetResponder={() => true}
.
<Dialog open={open} onOpenChange={(o) => setOpen(o)}>
<DialogContent className="sm:max-w-[425px]">
<DialogHeader>
<DialogTitle>Test</DialogTitle>
<ScrollView className="max-h-32">
{/* First child is View with prop from above*/}
<View onStartShouldSetResponder={() => true}>
<Text>
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore
magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing
elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et
accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit
amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et
dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd
gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Duis autem vel eum iriure dolor in hendrerit in
vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto
odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi. Lorem ipsum
dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam
erat volutpat.
</Text>
</View>
</ScrollView>
</DialogHeader>
<DialogFooter>
<DialogClose asChild>
<Button>
<Text>OK</Text>
</Button>
</DialogClose>
</DialogFooter>
</DialogContent>
</Dialog>;
from react-native-reusables.
Related Issues (20)
- Select dropdown does not work inside page which is set to `presentation: "modal"` HOT 6
- Bug: not being able to run the demo project HOT 4
- [ BUG ] Alert crashing on web but working on native HOT 2
- [ BUG ] Nested text with different font size getting cut off HOT 1
- [ BUG ] Error: Element type is invalid: expected a string HOT 3
- [FEATURE] Shareable UI between Expo and Web
- [ BUG ] Tooltip issues with react-native-reanimated 3.10.0 HOT 1
- [ BUG ] dark modifier on native HOT 2
- [ BUG ] Error during rendering Select component. HOT 3
- [ BUG ] RangeError: Maximum call stack size exceeded when running starter-base templare HOT 2
- [ NativeWind BUG ] darkMode: class not being set, setColorScheme errors HOT 1
- How to open select menu programmatically? HOT 4
- [ BUG ] Warning: Function components cannot be given refs (Form) HOT 1
- [ BUG ] Overlapping options in combobox HOT 2
- [ BUG ] CLI command not add aspect-ratio/ to primitives/ and progress.tsx to /ui HOT 1
- [ FEATURE ] Select Autocomplete HOT 1
- "Not implemented for web yet. Check `bottom-sheet.tsx` for more info. Why? HOT 1
- [ BUG ] Progress component (progress.tsx) missing "& indicatorClassname?: string" via CLI installed
- [ BUG ] Dialog X button doesn't close dialog
- [ FEATURE ] rocketicon support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-reusables.