fixed carousel issue

This commit is contained in:
Dmitri 2026-04-07 17:25:14 +04:00
parent 4b573c1433
commit 848f84efa8
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ const PageSelector: React.FC<PageSelectorProps> = ({
return (
<select
className='rounded border border-gray-300 bg-white px-3 py-2 text-sm'
value={activePageId}
value={activePageId ?? ''}
onChange={(event) => onPageChange(event.target.value)}
disabled={disabled}
>

View File

@ -580,8 +580,8 @@ export default function RuntimePresentation({
/>
)}
{/* Page elements - z-10 ensures they appear above backdrop layer */}
<div className='absolute inset-0 z-10'>
{/* Page elements - z-20 ensures they appear above carousel background (z-10) but below carousel controls (z-30) */}
<div className='absolute inset-0 z-20'>
{pageElements.map((element: CanvasElement) => (
<RuntimeElement
key={element.id}