in nextJs with useSearchParams(), fancyapps fancybox can open but close immediately #676
              
  
  Closed
              
          
                  
                    
                      TheCabinDev
                    
                  
                
                  started this conversation in
                General
              
            Replies: 2 comments 3 replies
-
| 
         same here, not yet have solutions  | 
  
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| 
         If you are using example React code from the docs, then try commenting out
the closing on component rerender. 
…On Sat, 27 Jul 2024 at 07:00, Alvin Christianto ***@***.***> wrote:
 same here, not yet have solutions
 —
 Reply to this email directly, view it on GitHub
 <#676 (comment)>,
 or unsubscribe
 <https://github.com/notifications/unsubscribe-auth/AAIBWZI6T5QHJGQJXFV5YIDZOMLPNAVCNFSM6AAAAABLRQR6VCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTAMJWGU2DOMY>
 .
 You are receiving this because you are subscribed to this thread.Message
 ID: ***@***.***>
 
 | 
  
Beta Was this translation helpful? Give feedback.
                  
                    3 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
what is the best way to use useSearchParams() in nextJs, with fancybox.
my problem is when i comment useSearchParams(), the fancybox gallery work normally. but when use useSearchParams(), the gallery will open and immediatly close
Beta Was this translation helpful? Give feedback.
All reactions