Skip to content
This repository has been archived by the owner on Aug 14, 2023. It is now read-only.

fix: swipe listener to detect changing tabs #615

Merged
merged 3 commits into from
May 14, 2021
Merged

Conversation

omartinma
Copy link
Contributor

Description

Without the listener the swipe will not update the index stored

Type of Change

  • ✨ New feature (non-breaking change which adds functionality)
  • 🛠️ Bug fix (non-breaking change which fixes an issue)
  • ❌ Breaking change (fix or feature that would cause existing functionality to change)
  • 🧹 Code refactor
  • ✅ Build configuration change
  • 📝 Documentation
  • 🗑️ Chore

@omartinma omartinma added the bug Something isn't working label May 14, 2021
@omartinma omartinma requested a review from felangel May 14, 2021 08:49
@@ -30,6 +30,12 @@ class _StickersTabsState extends State<StickersTabs>
vsync: this,
initialIndex: widget.initialIndex,
);
_tabController.addListener(() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah got it! Thanks for fixing 👍

@felangel felangel merged commit 45a3d8e into main May 14, 2021
@felangel felangel deleted the fix/swipe-tab-index branch May 14, 2021 13:20
felangel pushed a commit that referenced this pull request May 14, 2021
@felangel felangel mentioned this pull request May 14, 2021
7 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants