Nested Overlay

Nested Overlay
Nested Overlay

PRevieW

WaTch

When dealing with overlays in nested components, a common issue is misaligned overlays and a lack of a clear closing mechanism.

Here is a quick fix!

Apply the NestedOverlay file to your overlay behavior and select withNestedOverlay, this will center your overlay and ensure it functions as expected.

The overlay will close depending on what you choose, auto or click — this is the default Framer behavior.

If you wish to add a close button, simply apply the same NestedOverlay to your close component with the CloseButton override.

To change the background color overlay go to line 38 of the code and input the RGB values and the alpha value for transparency.

backgroundColor: "rgba(0, 0, 0, 0.9)",

That's it! This simple!

Copy Override

Share

Explore more F4Framer exclusive assets:

Get a free account