Control over Detached Mode #496
                  
                    
                      sarahdayan
                    
                  
                
                  started this conversation in
                Ideas
              
            Replies: 2 comments 1 reply
-
| Since #556, we synchronize the modal state with the panel state, meaning that calling  It's released in  | 
Beta Was this translation helpful? Give feedback.
                  
                    1 reply
                  
                
            -
| I am coming from vue and nuxt 3. How can I get keyboard shortcuts to work. I thought the default behavior was command + k opens the modal or closes it. But for me it does nothing.  | 
Beta Was this translation helpful? Give feedback.
                  
                    0 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.
Uh oh!
There was an error while loading. Please reload this page.
-
There's currently no API to programmatically control the state of the search modal in Detached Mode. It would be handy to add this to the autocomplete state, to handle, for example, keyboard shortcuts.
The state would contain a new getter and setter:
isModalOpenandsetIsModalOpen.Here's what usage would look like:
Beta Was this translation helpful? Give feedback.
All reactions