GithubHelp home page GithubHelp logo

Comments (8)

ColtonIdle avatar ColtonIdle commented on June 3, 2024 2

The problem goes away with compose 1.6-alpha05! Hooray. Looks like it was caused by alpha04 and below!

from placeholder.

adhirajsinghchauhan avatar adhirajsinghchauhan commented on June 3, 2024 2

^ Can confirm; should be closed as it's not relevant anymore. It hasn't popped up again in any of the newer Compose alpha versions thankfully (latest is 08 right now).

from placeholder.

adhirajsinghchauhan avatar adhirajsinghchauhan commented on June 3, 2024 1

I can reproduce. Applying shimmer placeholder to one element also bleeds that effect through to icons (only icons!) throughout the app, but not all of them.

For the time being I've switched to fade because it doesn't happen with that. Can't post a code sample yet, we're working in an internal branch.

from placeholder.

adhirajsinghchauhan avatar adhirajsinghchauhan commented on June 3, 2024 1

No problems, take your time. https://issuetracker.google.com/issues/297231233 might be related, though I don't see how.

icons randomly disappear after scrolling (scrolling them off screen and back sometimes makes the icon come back, but others disappear)

from placeholder.

fornewid avatar fornewid commented on June 3, 2024

placeholder() uses DrawModifier simply.
This means that it only applies to a composable that uses Modifier with placeholder() applied.
So I think, this is not possible in the current implementation. 🤔

Just remove placeholder() and see if the problem reproduces.
If not, please share executable and reproducible code snippet.
(I couldn't execute your project.)

from placeholder.

fornewid avatar fornewid commented on June 3, 2024

@adhirajsinghchauhan
Oh, thank you for detail description!

Recently I've been focusing on preparing a presentation.
So, sorry for the late. 🙇

I'll check this out soon.

from placeholder.

ColtonIdle avatar ColtonIdle commented on June 3, 2024

I'm having this problem too! But I'm not yet using this library. lol. I'm using accompanist and getting this issue so i want to move to this library. looks like it might just be a compose issue.

from placeholder.

fornewid avatar fornewid commented on June 3, 2024

looks like it might just be a compose issue.

@ColtonIdle
Yes. I think so too. The issue is caused by Compose 1.6

from placeholder.

Related Issues (3)

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.