Code Monkey home page Code Monkey logo

Comments (8)

MatkovIvan avatar MatkovIvan commented on May 26, 2024 1

You're manually/explicitly drawing HomeScreen second time above navigation-controlled content.

from compose-multiplatform.

MatkovIvan avatar MatkovIvan commented on May 26, 2024

Hi @KhubaibKhan4,

I see no specific error or reproduction steps in the description that I can use to actually reproduce it. Also, you forgot to specify what version of the navigation library you use. It's not clear what's exactly going wrong here, what's "overlay" means, etc.

Please provide a reproducible minimal sample (not the full app).

Also, you can refer to this example that works on all mentioned platforms: https://github.com/MatkovIvan/nav_cupcake

from compose-multiplatform.

KhubaibKhan4 avatar KhubaibKhan4 commented on May 26, 2024

I don't know what's the issue with navigation use Compose Navigation Library. Yesterday, I was trying to Convert YouTube-Clone-KMP to Compose Navigation. I converted the full application to it. But When it comes to running the Desktop + Web Application, I was facing the above error. The Error is like: When i run the application, that takes some more time than Previous Library. Secondly when I click on any Video Thumbnail to Navigate on Detail Screen with Video Players and other stuff, I get error. An Overlay appears above & no Navigation Happens.

Let me share Screenshots with Other Library and With Compose Navigation Library:

Voyager Libs Navigation:
Screenshot 2024-05-07 132644
Screenshot 2024-05-07 132706

Compose Navigation issue:
Screenshot 2024-05-07 104247

Now, i again revert back my Repository:
Repository Link: https://github.com/KhubaibKhan4/Youtube-Clone-KMP

from compose-multiplatform.

MatkovIvan avatar MatkovIvan commented on May 26, 2024

I don't see that the Jetpack navigation library is used/included in the provided project at all - you're using Voyager there and recent commits with related titles didn't change dependencies.

Please provide a reproducible minimal sample of the described problem so I can help here

from compose-multiplatform.

KhubaibKhan4 avatar KhubaibKhan4 commented on May 26, 2024

I just revert back from Jetpack Compose Navigation and still doing some work. Here is dependency: implementation("org.jetbrains.androidx.navigation:navigation-compose:2.7.0-alpha03")

After facing that issue, I revert back.

from compose-multiplatform.

KhubaibKhan4 avatar KhubaibKhan4 commented on May 26, 2024

Thank you. My bad 😔

from compose-multiplatform.

KhubaibKhan4 avatar KhubaibKhan4 commented on May 26, 2024

But still one thing. Navigation on Desktop + Desktop is really leggy. Hopefully that will be resolved soon.

from compose-multiplatform.

MatkovIvan avatar MatkovIvan commented on May 26, 2024

I saw performance problems in your project, but I don't think that it's related to the navigation. If you think that's the case - please prepare a separate report with measurements before/after. Note that for "reproduction sample" it's much better to attach a minimal project with the isolated case, but not just your entire project.

from compose-multiplatform.

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.