Coder Social home page Coder Social logo

Comments (4)

roshangm1 avatar roshangm1 commented on July 28, 2024 1

Seems like, the issue I was mentioning doesn't occur with react-navigation's BottomNavigator. But yeah, the bottom navigator hides certain portion of the bottom sheet. Let me do a bit of more work on this. Thanks @Eyesonly88 for the reply.

from react-native-reanimated-bottom-sheet.

brentvatne avatar brentvatne commented on July 28, 2024 1

it sounds like react-native-tab-navigator uses absolute positioning with padding, so when things are absolute positioned inside of it, it goes below the padding. you could fork it to not be absolute positioned and that'd probably fix your problem, or use react-navigation bottom tab, or use react-navigation-tabs directly

from react-native-reanimated-bottom-sheet.

Eyesonly88 avatar Eyesonly88 commented on July 28, 2024

I'd use react-navigation and have a bottomSheet for each tab so you won't have to worry about calculating the height and bottom 0 would not overlap with the bottom tab bar. You can also use react-navigation SafaArea component to control the boundaries for notch phones.

from react-native-reanimated-bottom-sheet.

roshangm1 avatar roshangm1 commented on July 28, 2024

@Eyesonly88 With this approach, how would you give the initialSnap or snapPoints for Bottom sheet in each tab ? Giving 0 (position from bottom) would actually result in position from the navigation bar, right ? I haven't tried this yet but I was kind of hoping this will be the expected behavior.
However, I will give it a shot.

from react-native-reanimated-bottom-sheet.

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.