Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RX.ScrollView Horizontal Tabs not working? #1204

Open
MovingGifts opened this issue May 18, 2020 · 2 comments
Open

RX.ScrollView Horizontal Tabs not working? #1204

MovingGifts opened this issue May 18, 2020 · 2 comments
Labels
help wanted question stale This ticket may be old, or may no longer be valid, and will be closed if no further activity occurs

Comments

@MovingGifts
Copy link
Contributor

I have a case where I need to scroll a list of 10 tabs horizontally on mobile and web, with a defined width and height, here's a visual mockup:

< | tab 1 | tab 2 | tab 3 | tab 4 | >

But no matter what I do, I can't get RX.ScrollView to line up the tabs horizontally, even when the horizontal={true} prop is passed. I tried adding flex: 1, flexDirection: 'row' but that too didn't work.

Any idea how to get it to work?

Here is the codesandbox demo

@MovingGifts
Copy link
Contributor Author

@erictraut Any idea how to get the horizontal scrolling to work on RX.ScrollView? I followed the docs but can't get it to work...

@fbartho
Copy link
Contributor

fbartho commented Aug 9, 2020

@MovingGifts I took a look at your demo, and I don't understand what's going wrong.

Would you mind checking if this is still an issue with current versions of ReactXP?

@fbartho fbartho added help wanted question stale This ticket may be old, or may no longer be valid, and will be closed if no further activity occurs labels Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted question stale This ticket may be old, or may no longer be valid, and will be closed if no further activity occurs
Projects
None yet
Development

No branches or pull requests

2 participants