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

[Feature Request] Carousel interaction events for XAML renderer #9082

Open
mink-ms opened this issue Jan 9, 2025 · 0 comments
Open

[Feature Request] Carousel interaction events for XAML renderer #9082

mink-ms opened this issue Jan 9, 2025 · 0 comments
Labels

Comments

@mink-ms
Copy link

mink-ms commented Jan 9, 2025

Problem Statement

The JS renderer fires CarouselInteractionEvent for carousel navigation, but the XAML renderer does not have an equivalent.

Proposed solution

Notify carousel interactions for XAML AdaptiveCards, perhaps using IRenderedAdaptiveCard::Action event or a new event altogether.

Alternatives or Workarounds

I think it'd be possible to walk the XAML tree of rendered card to hook into FlipView/PipsPager events to track the navigations, but this approach seems tricky to distinguish Autoplay navigation vs. user clicking on next/previous page or pips.

@mink-ms mink-ms added the Request label Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant