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

Carousel: onActiveIndexChange callback does not provide current activeIndex #16117

Closed
jurokapsiar opened this issue Dec 2, 2020 · 0 comments · Fixed by #16118
Closed

Carousel: onActiveIndexChange callback does not provide current activeIndex #16117

jurokapsiar opened this issue Dec 2, 2020 · 0 comments · Fixed by #16118
Assignees
Labels
Fluent UI react-northstar (v0) Work related to Fluent UI V0 Status: Fixed Fixed in some PR

Comments

@jurokapsiar
Copy link
Contributor

Environment Information

  • Package version(s): 0.51.x

Please provide a reproduction of the bug in a codepen:

https://fluentsite.z22.web.core.windows.net/0.51.3/components/carousel/definition

Actual behavior:

onActiveIndex={console.log}
does not report current activeIndex

Expected behavior:

activeIndex is reported in the data object

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Fluent UI react-northstar (v0) Work related to Fluent UI V0 Status: Fixed Fixed in some PR
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants