wix / react-native-ui-lib

UI Components Library for React Native

Home Page:https://wix.github.io/react-native-ui-lib/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SegmentedControl can not update selected index programmatically

Relax594 opened this issue · comments

Description

It looks like there is no property to update the current selected index programmatically. The intialIndex is only used once and updating it has no impact.

Related to

  • Components
  • Demo
  • Docs
  • Typings

Steps to reproduce

Expected behavior

Being able to update the selected index per code

Actual behavior

Can not update the selected index per code

More Info

Code snippet

Environment

  • React Native version: 0.71.14
  • React Native UI Lib version: 7.14.0

Affected platforms

  • Android
  • iOS
  • Web