Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selectedIndex doesn't switch tab. #4245

Closed
mddifilippo89 opened this issue Mar 8, 2019 · 0 comments
Closed

selectedIndex doesn't switch tab. #4245

mddifilippo89 opened this issue Mar 8, 2019 · 0 comments
Assignees
Labels
🐛 bug Any issue that describes a bug 🔥 severity: high tabs version: 7.2.0 ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.

Comments

@mddifilippo89
Copy link

Description

Programmatically setting selected tab index via selectedIndex property doesn't update UI.

  • igniteui-angular version: 7.2.0
  • browser: Google Chrome

Steps to reproduce

  1. Run sample (npm install, npm start)
  2. Click Play button

Result

The favorites (middle) tab does not become selected

Expected result

The favorites (middle) tab becomes selected.

Attachments

See attachment. See screenshot illustrating that the newly selectedtabitem is Favorites although the UI isn't refreshed.
tab-demo-app.zip

igxtabIssue

@mddifilippo89 mddifilippo89 added the 🐛 bug Any issue that describes a bug label Mar 8, 2019
@sboykova sboykova self-assigned this Mar 11, 2019
@sboykova sboykova added the tabs label Mar 11, 2019
@sboykova sboykova added 🛠️ status: in-development Issues and PRs with active development on them and removed 🆕 status: new labels Mar 11, 2019
@sboykova sboykova added ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged. and removed 🛠️ status: in-development Issues and PRs with active development on them labels Mar 11, 2019
bkulov pushed a commit that referenced this issue Mar 15, 2019
* fix(tabs): Fixed selectedIndex run-time change #4245

* refactor(tabs): Members refactored #4275
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Any issue that describes a bug 🔥 severity: high tabs version: 7.2.0 ✅ status: resolved Applies to issues that have pending PRs resolving them, or PRs that have already merged.
Projects
None yet
Development

No branches or pull requests

4 participants