Skip to content
All articles Browser and accessibility

Why Is My Liquid Glass Only Blurring?

Diagnose a missing refractive rim by checking the scene, engine settings, and backdrop boundaries.

Start with a dark and light stripe that crosses the rim. A flat background gives the lens very little detail to bend. Compare the same element on the same scene with auto and css before investigating your application layout.

Check the engine settings

Use a host large enough to draw a lens. Version 0.2.0 waits when either side is below eight CSS pixels. Set refractionStrength clearly above zero and keep ior above 1 during diagnosis. If reduced transparency is enabled and respectPreferences is in effect, QuickLiquid intentionally removes refraction. Test the default and preferred appearances separately.

<LiquidGlass config={{
  material: 'clear',
  refractionStrength: 28,
  ior: 1.5,
  bezelWidth: 20,
  refractionMode: 'auto',
}}>
  <div style={{ padding: '1rem' }}>Look at the rim over the stripe.</div>
</LiquidGlass>

Isolate the layout change

Inspect the styles on the host and its ancestors. Try removing isolation, filter, masks, or an opacity below 1 one at a time. Put opacity animations on an inner content element when the glass itself needs to keep sampling the page. If the effect works in the simplified scene, put the original styles back individually until the disappearing refraction is reproducible.

On the supported SVG path, getPerformanceMetrics().displacementTaps tells you whether QuickLiquid built displacement nodes. A positive value confirms the filter graph exists. Use the stripe to verify what the browser actually drew. Read the browser-path guide if you need to choose an alternative for a target browser.