Skip to content

SegmentedControl can not update selected index programmatically #2880

Closed
@Relax594

Description

@Relax594

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buga bug in one of the componentswontfix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions