Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

123
Views
Absolute positioning doesn't work in React Native - Android

I couldn't manage to display the View below on android devices. Is this related to react-navigation? This is working on IOS just fine.

// App.tsx
export default function App() {
  const navigationRef = useNavigationContainerRef();
  const [pageState, setPageState] = React.useState<NavigationState>();

  const handleGetInitialState = () => {
    setPageState(navigationRef.current?.getRootState());
  };

  return (
    <NavigationContainer
      ref={navigationRef}
      onReady={handleGetInitialState}
      onStateChange={(state) => setPageState(state)}
    >
      <View
        style={{
          position: 'absolute',
          height: 200,
          width: 200,
          top: 0,
          right: 0,
          backgroundColor: 'red',
          zIndex: 99999,
        }}
      />
      <RootNavigation />
    </NavigationContainer>
  );
}

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!