Skip to content

Add onPress visual feedback for tab items (RawButton) #79

@BenJeau

Description

@BenJeau

Feature Request

When pressing a tab item, there is no immediate visible feedback to the user. Making the tab item have a ripple effect (for android), a opacity change (for iOS), or something more custom would be great!

Why it is needed

For the user to have a more smooth animated experience.

Possible implementation

Not exactly sure, but I think <RawButton /> would need to be modified. Maybe somehow integrating a <Pressable /> (https://reactnative.dev/docs/pressable) or a touchable (https://docs.swmansion.com/react-native-gesture-handler/docs/component-touchables)? @gorhom if you have an idea how to implement this, please let me know since I'm not sure and I would like to open a PR implementing it (but I don't have a lot of experience with animated stuff), unless you would like to do it.

Code sample

Not sure yet

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions