Skip to content

Commit 001b37f

Browse files
committed
add show soft input on focus docs
1 parent 3230e99 commit 001b37f

File tree

1 file changed

+5
-1
lines changed
  • packages/react-native-web-docs/src/pages/docs/components

1 file changed

+5
-1
lines changed

packages/react-native-web-docs/src/pages/docs/components/text-input.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ permalink: /docs/text-input/index.html
55
eleventyNavigation:
66
key: TextInput
77
parent: Components
8-
label: "Change"
8+
label: 'Change'
99
---
1010

1111
{% import "fragments/macros.html" as macro with context %}
@@ -168,6 +168,10 @@ If `true`, all text will automatically be selected on focus.
168168
Equivalent to [HTMLElement.spellcheck](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/spellcheck)
169169
{% endcall %}
170170

171+
{% call macro.prop('showSoftInputOnFocus', '?boolean = true') %}
172+
If `false`, will set [HTMLElement.virtualkeyboardpolicy](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/virtualkeyboardpolicy) to `manual`.
173+
{% endcall %}
174+
171175
{% call macro.prop('style', '?Style') %}
172176
Set the styles of the view. `TextInput` supports typographic styles in addition to those of `View`.
173177
{% endcall %}

0 commit comments

Comments
 (0)