How can I temporarily disable the command palette and its binding? #5316
-
How can I temporarily disable the command palette and its binding? My application makes use of the command palette but there are times when it'd be nice to temporarily disable it as well. For example, there might be a temporary Screen with a "Yes/No/Cancel" type option flow. If the command palette is accessible, the user can pivot away from that screen without choosing an available option. Reading through the App source, the command palette is pretty tightly coupled to the App itself. Another possible method is to disable the command palette at the application level, and then reimplement the |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I thought this may be possible with dynamic actions, but it turns out that the command palette is a special case in the footer. Moving this to an issue, as I think it wouldn't be much effort to support. |
Beta Was this translation helpful? Give feedback.
-
Issue #5321 |
Beta Was this translation helpful? Give feedback.
I thought this may be possible with dynamic actions, but it turns out that the command palette is a special case in the footer.
Moving this to an issue, as I think it wouldn't be much effort to support.