Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support blur content inside only #13

Open
jiangnan44 opened this issue May 8, 2023 · 4 comments
Open

Support blur content inside only #13

jiangnan44 opened this issue May 8, 2023 · 4 comments

Comments

@jiangnan44
Copy link

I need to blur an Image as background of a ConstraintLayout , but Cloudy seems to blur everything overlay .
Please consider add this feture

@nubpro
Copy link

nubpro commented Jun 17, 2023

Love to see this happen too!
@skydoves Please grant us the wish, you'll make a lot us very happy :)

@nubpro
Copy link

nubpro commented Jun 17, 2023

Box {
  Cloudy() {
      Box(
          modifier = Modifier
              .fillMaxSize()
              .background(Color(255, 255, 255).copy(alpha = 0.38f))
      )
  }
  Text(
      text = stringResource("Text here"),
      color = Color.Black,
      fontSize = 60.sp
  )
}

image

Im trying to blur the background only but it seems to be applying the blur around the text on top of it.

@pavelperc
Copy link

Also, when scrolling, scroll content is usually shifted. This makes the library useless.
image

@vrajendraBhavsar
Copy link

Hey @skydoves,
Could you please provide a better way to handle this issue? I'm thinking of adding this to my project but it seem a bit unstable at this point, thanks a bunch in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants