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

[Tab Bar] Make tabs navigate to tab home and top of list on successive taps #13263

Open
joe-keenan opened this issue Jul 8, 2024 · 1 comment
Labels
type: bug A confirmed bug.

Comments

@joe-keenan
Copy link

Describe the bug
Tapping on a tab will navigate to the last screen and scroll-position that tab displayed, but tapping it again does nothing. The expected pattern should navigate to the top of the tab’s home screen with successive taps.

I’ve called out the Products tab below, but the behaviour should be applied to all tabs – Including My Store and More.

To Reproduce
Steps to reproduce the behavior:

  1. Go to Products tab
  2. Scroll down
  3. Go into any product details
  4. Go into any details sub-screen
  5. Tap Products tab

Screenshots
There’s not much to show for the Woo App behaviour, so I’ve recorded how the Slack App behaves instead.

RPReplay_Final1720403138.mp4

Expected behavior

  1. Go to Products tab
  2. Scroll down
  3. Go into any product details
    1. Go into any details sub-screen
  4. Tap Products tab
  5. Navigate to Products list at previous scroll position
  6. Tap Products tab again
  7. Navigate to top of Products list
@joe-keenan joe-keenan added the type: bug A confirmed bug. label Jul 8, 2024
@dangermattic
Copy link
Collaborator

🚫 Please add a type label (e.g. type: enhancement) and a feature label (e.g. feature: stats) to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug A confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants