Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

bug(tabs): disconnect causing issues #1698

@robertmesserle

Description

@robertmesserle

As posted by @mxdubois:

This causes a problem for me where the scope is disconnected after it is reconnected by onSelect during the initial load. The bug results in ng-model bindings in the initially selected tab not working until the user switches to another tab and switches back.

In what case is the $timeout necessary? If we need to keep the $timeout, we should save the promise returned by $timeout and cancel it in onSelect where we call reconnectScope. If that sounds good, I can submit a PR.

Link: 78ba497#commitcomment-9946067

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions