MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / PushPreserveKeyboard

Method PushPreserveKeyboard

StereoKit/Systems/UI.cs:1282–1283  ·  view source on GitHub ↗

When a soft keyboard is visible, interacting with UI elements will cause the keyboard to close. This function allows you to change this behavior for certain UI elements, allowing the user to interact and still preserve the keyboard's presence. Remember to Pop when you're finished! If true, interacting with elements will NOT hide the keyboard. If fa

(bool preserveKeyboard)

Source from the content-addressed store, hash-verified

1280 /// will NOT hide the keyboard. If false, interaction will hide the
1281 /// keyboard.</param>
1282 public static void PushPreserveKeyboard(bool preserveKeyboard)
1283 => NativeAPI.ui_push_preserve_keyboard(preserveKeyboard);
1284
1285 /// <summary>This pops the keyboard presentation state to what it was
1286 /// previously.</summary>

Callers 1

StepMethod · 0.80

Calls 1

Tested by

no test coverage detected