Closed JayDev43 closed 4 years ago
@JayDev43 This bug has been fixed.
dependencies:
convex_bottom_bar:
git:
url: https://github.com/hacktons/convex_bottom_bar.git
ref: patch-highlight
Same error occur when keyboard opens and then closes
any detail log?
It doesn't give any logs in console. It just happens. Fixed it by your solution
@JayDev43 This bug has been fixed.
dependencies: convex_bottom_bar: git: url: https://github.com/hacktons/convex_bottom_bar.git ref: patch-highlight
👌
@najafsikander v2.6.0 has been shipped. You may switch to update the version now. Feel free to fire a issue if the package brother you😅
Describe the bug
When navigating back from another page to a page containing the ConvexBottomBar where the initialActiveIndex value is set and the index when I navigated away from the page is not equal to the initialActiveIndex then the highlighted icon is incorrect. The page highlights the icon of the initialActiveIndex rather than the index I was on when I navigated away. See screenshot below.
Code for setting up the ConvexAppBar is below.
Environment details
Paste the flutter environment detail.
Paste the package version.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected both the convex line and the highlighted icon to be on the same index in the app bar and I expected this index to be whichever I was on prior to navigating away from the page.
Screenshots
Screenshot added of what it looks like once the I navigate back to page