Skip to content

Implement tabBarHidden  #76

Closed
Closed

Description

@okwasniewski

Goal of this issue is to implement tabBarHidden config option to be able to hide the tab bar on certain routes.

Activity

  1. changed the title [-]Implement `disappearOnScroll` [/-] [+]Implement `tabBarHidden` [/+] on Nov 10, 2024
  2. anudit commented on Nov 24, 2024

    @anudit

    @okwasniewski Looking forward to this

  3. cesargdm commented on Nov 28, 2024

    @cesargdm

    Expo implements it with options={{ href: null }} https://docs.expo.dev/router/advanced/tabs/#hiding-a-tab

  4. okwasniewski commented on Nov 28, 2024

    @okwasniewski
    CollaboratorAuthor

    Hey @cesargdm, options={{ href: null }} is used for hiding a screen not the tab bar.

    The screen hiding is also supported using tabBarItemHidden, supporting href: null is possible but would require creating an expo specific package with the navigator (they add it on top of React Navigation tabs too).

  5. rochajulian commented on Dec 14, 2024

    @rochajulian

    Any update in this? The way that I used to do it on Expo is as follows:

    <Tabs.Screen
        name="index"
        options={{
            href: null,
            tabBarStyle: {
                display: "none"
            }
        }}
    />
    

    This would effectively hide the screen from the tab bar AND the tab bar on that screen.

  6. okwasniewski commented on Dec 17, 2024

    @okwasniewski
    CollaboratorAuthor

    I'm moving this to discussions because all feature requests will now be under the "Ideas 💡" tab in GitHub discussions.

  7. locked and limited conversation to collaborators on Dec 17, 2024
  8. converted this issue into a discussion #214 on Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    AndroidenhancementiOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions