Skip to content

Is it possible to create a horizontally scrollable and sortable navigation tabs with Sortable.Flex? #244

Closed Answered by MatiPl01
hakanayata asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @hakanayata!

I haven't tested sortable components with horizontal ScrollView yet and haven't added support for that. I was playing for a while with your example and I can see what is the problem.

Basically, after items are rendered on the screen, I start positioning them absolutely and set parent container dimensions manually, based on the calculated layout od the children. The problem with the current implementation is that I set only the height of the parent container but leave its with unspecified. When children's position change to absolute, the parent container in the horizontal ScrollView collapses because 0 is its default width.

Give me some time to fix this issue. I will most …

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@hakanayata
Comment options

Answer selected by hakanayata
Comment options

You must be logged in to vote
2 replies
@hakanayata
Comment options

@MatiPl01
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants