blockly > Options > modalInputs
Signature:
modalInputs: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["This property, belonging to the `Blockly.Options` class, dictates whether or not workspace dialogs and context menus should be rendered as modal windows."],["Setting `modalInputs` to `true` ensures that workspace dialogs, such as function creation and variable renaming, appear as modal windows, restricting interaction to the dialog until it's dismissed."],["When `modalInputs` is `false` (the default), dialogs and context menus will instead overlay the workspace, potentially allowing interaction with blocks beneath them."]]],[]]