Adding Scroll To Every Screen On the Expo Router #30357
Unanswered
chandan-jal-evolution
asked this question in
Archived: Questions
Replies: 2 comments 5 replies
-
You need to implement the in your mobile layouts as well. Unless I am misinterpreting your issue |
Beta Was this translation helpful? Give feedback.
2 replies
-
Wait. I just realized. You set the scroll view in your layout where your stack is. You need the scroll view in the layout or the file of where your content is. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey there 👋
I'm currently working on a project with
Expo Router
,I'm working on the cross platform functionalities which supportsAndroid
,iOS
andweb
.I have this requirement to add the scrollbar to every screen as we know the contents will get bigger and bigger. I have created this
_layout.web.tsx
which handle the overall layout of theweb
.I've also introduced the ScrollView over there it is working fine.Anyhow, my issue with the
Mobile Devices
the layout not working as expected. Here is the glimpse of the_layout.tsx
So how can i implement the scroll view on each page. As I mentioned right I've also a
_layout.web.tsx
,here it isSo, NO PAGE HAVE THE SCROLL VIEW, I'm implementing this on the layout files.
Please help me out here!!!!
Beta Was this translation helpful? Give feedback.
All reactions