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

Perform action when user presses or long presses a tab item #25

Open
jedmund opened this issue May 5, 2024 · 1 comment
Open

Perform action when user presses or long presses a tab item #25

jedmund opened this issue May 5, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jedmund
Copy link

jedmund commented May 5, 2024

Hello,

I didn't see this in the documentation, but it would be great if we could attach gesture recognizers to tabs (individually or as a group) to perform other actions on a tab.

As an example (what I want to do):

  • When a tab is active, pressing the tab item again should scroll to the top and refresh the content
  • Long pressing on a tab to go back to the root view
  • Adding haptics when a user presses a tab

This is lower priority for me, but when I have more time, I'll probably explore this on my own if no one else gets to it.

Thanks for considering!

@onl1ner
Copy link
Owner

onl1ner commented May 5, 2024

I think that this is a great idea!

@onl1ner onl1ner added the enhancement New feature or request label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants