Comments (5)
I'm afraid that I can't reproduce this at all. If you can provide a sample which reproduces on an emulator then I can take a look.
from haze.
@chrisbanes sure, can you try this repo? https://github.com/Stavrenas/haze-offset
Edit: Make sure to launch the previews on a real device. Haven't tried on an emulator
from haze.
I still can't recreate this an emulator or Pixel 8.
I'm afraid that if this isn't reproducible on an emulator then it's almost certain to be a OEM/device specific issue, and there's not much I can do to help here really. What device and Android version are you using?
FYI, the integration here is extremely simple: it's just a call to View.getLocationOnScreen
.
from haze.
I'm on a Pixel 6 on an Ubuntu dev environment, however this happens also on a Windows machine with a Poco X4 GT device.
I tried the same thing on the emulator, Pixel 8 (default settings) and the result is the same.
I'm starting to think, maybe it's jdk related? I'm on version 17, I'll try a newer one and update you
from haze.
So just to confirm, this only happens when deploying previews?
from haze.
Related Issues (20)
- Strange behaviour during scaling content with HAZE blur HOT 3
- Blurring overlaying top content HOT 4
- Shape visual issue HOT 1
- Support dynamic blur radius HOT 2
- Support for older Android systems HOT 3
- edge blending options and/or blur the edges HOT 3
- Use a bundled font in screenshot tests
- Crash at zero size composable with hazeChild(shape)
- [0.6.0] Crash in Espresso UI Tests - Recording currently in progress - missing #endRecording() call? HOT 3
- Can i use haze with Jetpack compose Popup? HOT 3
- Toggling blur doesn't work
- Haze offsets when using a TopAppbar with a scroll behavior HOT 2
- Glitched artifacts with blurred items inside a scrollable container HOT 1
- `hazeChild` is drawing areas for prefetching items in a LazyLayout
- Position mismatch with scale transform HOT 5
- Why hazy not work? HOT 4
- JS support request HOT 3
- In Windows for desktope it is to freezing HOT 3
- No-clipping of hazeChild Composables HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from haze.