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.

Use `SegmentedControlIOS` instead of `Picker` for less than 5 options.

See original GitHub issue

According to recent research, it’s better to use segmented controls instead of pickers if possible.

We could support this behaviour out of the box or make it configurable for any t.enums options.

What do you think @gcanti ?

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alvarombcommented, Aug 4, 2016

I know. The thing is to provide a built-in factory/template inside the library.

0reactions
alvarombcommented, Aug 21, 2017

It’s on my roadmap, but I haven’t found time to implement it yet @Hitabis.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Segmented controls - Human Interface Guidelines - Design
Use a segmented control to provide closely related choices that affect an object, state, or view. For example, a segmented control can help...
Read more >
SegmentedControlIOS for android in react-native
SegmentedControl is a built in native component on iOS. However, there is no direct equivalent on Android which is why the react native ......
Read more >
How to Make a Custom Segmented Control (iOS, Xcode 8 ...
https://www.bigmountainstudio.comThis is a LONG video but damn it, you are going to learn a lot of cool stuff! I should have really broken ......
Read more >
The best date pickers for your React Native app
In this article, we'll take a look at the available options for React ... maintained and uses React Native DateTimePicker under the hood...
Read more >
SegmentedControlIOS - React Native
Use one of the community packages instead. Uses SegmentedControlIOS to render a UISegmentedControl iOS. Programmatically changing selected index ...
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