Skip to content

Commit

Permalink
fix(component-rn): 解决 focus 变更,聚焦失焦不同步 (#12466)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinken008 authored Sep 9, 2022
1 parent ef0c2e3 commit 41c6e81
Show file tree
Hide file tree
Showing 4 changed files with 209 additions and 181 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export interface InputState {
export interface InputProps extends FormItemProps{
style?: StyleProp<ViewStyle>;
value?: string;
type: 'text' | 'number' | 'idcard' | 'digit';
type?: 'text' | 'number' | 'idcard' | 'digit';
password?: boolean;
placeholder?: string;
disabled?: boolean;
Expand All @@ -32,8 +32,8 @@ export interface InputProps extends FormItemProps{
confirmType: 'done' | 'send' | 'search' | 'next' | 'go';
confirmHold?: boolean;
cursor?: number;
selectionStart: number;
selectionEnd: number;
selectionStart?: number;
selectionEnd?: number;
placeholderStyle?: string;
placeholderTextColor?: string;
onInput?: (evt: Event) => void;
Expand Down
Loading

0 comments on commit 41c6e81

Please sign in to comment.