We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a67ee4 commit 65df908Copy full SHA for 65df908
1 file changed
apps/showcase/demo/gallery/grid-demo.tsx
@@ -39,7 +39,7 @@ function BasicDemo() {
39
</div>
40
<Portal>
41
{present && (
42
- <div ref={ref} className={`w-full h-[100dvh] top-0 left-0 !fixed z-[100000] ${isVisible ? 'opacity-100' : 'opacity-0'} transition-opacity duration-200`}>
+ <div ref={ref as React.RefObject<HTMLDivElement>} className={`w-full h-[100dvh] top-0 left-0 !fixed z-[100000] ${isVisible ? 'opacity-100' : 'opacity-0'} transition-opacity duration-200`}>
43
<Gallery className="w-full h-full" activeIndex={activeIndex} onActiveIndexChange={(e: useGalleryChangeEvent) => setActiveIndex(e.value ?? 0)}>
44
<Gallery.Backdrop />
45
<Gallery.Prev>
0 commit comments