-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
When Pick content is enabled, and you have some val content that is covered by another element such as a modal, boxes will still appear around the non-visible content.
Steps to reproduce:
Create a new val project with any project name:
npm create @valbuildcd my-val-appEdit the src/app/page.tsx file and in the Home function:
Replace this:
<main className="max-w-screen-lg mx-auto p-4">
{pageContent.sections.map((section) => (
<Section key={section.type} section={section} />
))}
</main>With this:
<main className="max-w-screen-lg mx-auto p-4">
{pageContent.sections.map((section) => (
<Section key={section.type} section={section} />
))}
<div className="fixed flex inset-0 bg-black/50">
<div className="m-auto p-32 bg-gray-700">{pageContent.description}</div>
</div>
</main>- Start the project:
npm run dev - Go to
http://localhost:3000/val - Click enter preview mode.
- Click
Pick content
The result should be something like this:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels