Skip to content

Shader mode does not work, although all other modes work fine #29

@LaMeredla

Description

@LaMeredla

Can anyone help me understand why all the modes work except the shader? I need it specifically, but for some reason it just creates strange horizontal stripes and there is no distortion, etc.
I also tried running the demo, and the story is exactly the same, all the effects work except the shaders.

Image

Here's my code

                    <LiquidGlass
                        className="glass-pill"
                        displacementScale={displacementScale}
                        blurAmount={blurAmount}
                        saturation={saturation}
                        aberrationIntensity={aberrationIntensity}
                        elasticity={elasticity}
                        cornerRadius={cornerRadius}
                        mouseContainer={containerRef}
                        overLight={scrollingOverBrightSection || customerInfoOverLight}
                        mode={customerInfoMode}
                        padding={customerPadding}
                        style={{
                             position: "absolute",
                             top: "50%",
                             left: "50%",
                             width: "fit-content",
                             maxWidth: "562px",
                        }}
                    >
                        <div className="solution-subtitle-pill">
                            <span style={{ position: "relative", zIndex: 2 }}>
                                One place to understand your UK tax position
                            </span>
                        </div>
                    </LiquidGlass>
                </div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions