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

When justifyItem set to scrollable, SegmentedBar will take too much space #41

Closed
t83714 opened this issue Aug 21, 2017 · 2 comments
Closed

Comments

@t83714
Copy link

t83714 commented Aug 21, 2017

Here are the example code and screenshot highlighted the issue:

<SegmentedView 
    type='projector' 
    justifyItem='scrollable'
    autoScroll={true} 
    animated={true}
    style={{flex:1}} 
    >
            <SegmentedView.Sheet key={1} title={"view 1"}>
							<View>
                <ListRow title='List Item 1' detail={'ssss'} topSeparator='full' />
                <ListRow title='List Item 2' detail={'ssss'} topSeparator='none'/>
                <ListRow title='List Item 3' detail={'ssss'} topSeparator='none'/>
                <ListRow title='List Item 4' detail={'ssss'} topSeparator='none' bottomSeparator='full' />
							</View>
						</SegmentedView.Sheet>
            <SegmentedView.Sheet key={2} title={"view 2"}>
							<View>
							  <ListRow title='List Item 1' detail={'2'} topSeparator='full' />
							  <ListRow title='List Item 2' detail={'ssss'} topSeparator='none'/>
							  <ListRow title='List Item 3' detail={'ssss'} topSeparator='none'/>
							  <ListRow title='List Item 4' detail={'ssss'} topSeparator='none' bottomSeparator='full' />
							</View>
						</SegmentedView.Sheet>
            <SegmentedView.Sheet key={3} title={"view 3"}>
							<View>
                <ListRow title='List Item 1' detail={'3'} topSeparator='full' />
                <ListRow title='List Item 2' detail={'ssss'} topSeparator='none'/>
                <ListRow title='List Item 3' detail={'ssss'} topSeparator='none'/>
                <ListRow title='List Item 4' detail={'ssss'} topSeparator='none' bottomSeparator='full' />
							</View>
						</SegmentedView.Sheet>
    </SegmentedView>

image

@rilyu
Copy link
Owner

rilyu commented Aug 22, 2017

fixed: cf862cd

@t83714
Copy link
Author

t83714 commented Aug 22, 2017

Can confirm it's been fixed.

@t83714 t83714 closed this as completed Aug 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants