cloudinary-community / cloudinary-community/next-cloudinary

[Feature] Nested Overlays

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
300
Forks
137
Avg merge
3m
Merged PRs (30d)
2

Description

# **Feature Request**

## **Is your feature request related to a problem? Please describe.**

Cloudinary gives you the ability to "nest" overlays in a way that allows the elements to flow in a natural way.

Example would be based on dynamic text positioning, the nested overlay would dynamically be placed after it if using relative positioning.

## **Describe the solution you'd like**

Not quite sure, thinking maybe along the lines of:

```
overlays={[
{
...
children: [{ ...overlays }]
]}
```

Where the children would be instances of overlays, so the overlays plugin would just recursively parse the children and down

## **Describe alternatives you've considered**

maybe `childOverlays` instead?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.