question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

First tab has a broken view if values lower than 3

See original GitHub issue

I got this problem in iOS when I set the values to be only 2 (works fine on Android)

img_0324 2

The tab works fine if I have more than 2 values

Here’s my code

             <SegmentedControlTab
                    values={['Aktif', 'Selesai']}
                    selectedIndex={this.state.selectedIndex}
                    onTabPress={this.handleIndexChange}
                    tabsContainerStyle={{ padding:20}}
                    tabStyle={{borderColor:'#a55eea'}}
                    tabTextStyle={{color:'#a55eea'}}
                    activeTabStyle={{backgroundColor:'#a55eea'}}
                />

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kirankalyan5commented, Aug 7, 2018

Hi guys, there was a similar render problem which was reported some time back.

Can you check this https://github.com/kirankalyan5/react-native-segmented-control-tab/issues/10?

it may help you.

0reactions
kurniawanj26commented, Aug 8, 2018
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to find and fix broken links in Excel - Ablebits
Find and fix broken links in Excel · On the Data tab, in the Queries &Connections group, click the Edit Links button. ·...
Read more >
Web Accessibility Criteria - Tab Order
Normal flow in the keyboard tab order will be broken when tabbing through the interactive elements. If content is dynamically added in between...
Read more >
Freeze panes to lock rows and columns - Microsoft Support
Select View > Freeze Panes > Freeze Panes. Freeze columns and rows. Select the cell below the rows and to the right of...
Read more >
Excel 2016: Freezing Panes and View Options - GCFGlobal
In our example, we'll select cell D6. Click the View tab on the Ribbon, then select the Split command. The workbook will be...
Read more >
Running a t-test in Excel
To run the t-test, arrange your data in columns as seen below. Click on the “Data” menu, and then choose the “Data. Analysis”...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found