Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

SegmentedBar/TabView selectedIndexChange event fired before selectedIndex property binding has set the value #1379

Copy link
Copy link
Open
@jamie-pate

Description

@jamie-pate
Issue body actions

If you place a SegmentedBar inside an *ngIf the selectedIndexChange event is fired before the property value for selectedIndex is pulled from the component. This may cause the event handler to set the value of selectedIndex to 0 (or array.indexOf(0) if you are getting/setting some other variable on it's index within an array of possible values)

Affects TabView component also, but slightly differently. The correct tab remains selected even though the model value has changed? (is it somehow skipping change detection?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.