Giter Site home page Giter Site logo

Comments (7)

ducpt-bili avatar ducpt-bili commented on July 2, 2024 2

I found the way to do that.
on CurvedBottomBar.Navigator i add:
screenOptions={{ headerShown: false, }}
and it work.

from react-native-curved-bottom-bar.

Ahmadhmaid777 avatar Ahmadhmaid777 commented on July 2, 2024 2

I found the way to do that.
on CurvedBottomBar.Navigator i add:
screenOptions={{ headerShown: false, }}
and it work.

That's good for make header hidden in all screens but I can't hide header for specific screen or add different title for every screen

from react-native-curved-bottom-bar.

ozdemiremrah avatar ozdemiremrah commented on July 2, 2024 2

Also

screenOptions={{ tabBarHideOnKeyboard: true }}

not working.

from react-native-curved-bottom-bar.

ducpt-bili avatar ducpt-bili commented on July 2, 2024

+1
I want do disable header, but not found the way to do it.

from react-native-curved-bottom-bar.

draturi95 avatar draturi95 commented on July 2, 2024

@ozdemiremrah

I'm facing the same issue.

Did you find a way to make the bottom navigator disappear for the case where the keyboard is enabled?

from react-native-curved-bottom-bar.

ozdemiremrah avatar ozdemiremrah commented on July 2, 2024

@draturi95 I have listen Keyboard events didShow and didHide

here is my code.

const bottomBarRef = useRef();

  useEffect(() => {
    const showSubscription = Keyboard.addListener('keyboardDidShow', () => {
      //console.log('keyboardDidShow')
      bottomBarRef.current.setVisible(false)
    });
    const hideSubscription = Keyboard.addListener('keyboardDidHide', () => {
      //console.log('keyboardDidHide') 
      bottomBarRef.current.setVisible(true)
    });

    return () => {
      showSubscription.remove();
      hideSubscription.remove();
    };
  }, []);

....
<CurvedBottomBar.Navigator
        ref={bottomBarRef}
        ...
        />

from react-native-curved-bottom-bar.

julekgwa avatar julekgwa commented on July 2, 2024

I found the way to do that. on CurvedBottomBar.Navigator i add: screenOptions={{ headerShown: false, }} and it work.

This's not the way, the original support hiding individual headers but this one doesn't seem to support it.

from react-native-curved-bottom-bar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.