File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export enum orientations {
8
8
9
9
const isAndroid : boolean = Platform . OS === 'android' ;
10
10
const isIOS : boolean = Platform . OS === 'ios' ;
11
+ const isWeb : boolean = Platform . OS === 'web' ;
11
12
let isTablet : boolean ;
12
13
let statusBarHeight : number ;
13
14
let screenHeight : number = Dimensions . get ( 'screen' ) . height ;
@@ -68,6 +69,7 @@ const constants = {
68
69
orientations,
69
70
isAndroid,
70
71
isIOS,
72
+ isWeb,
71
73
getAndroidVersion : ( ) => {
72
74
return isAndroid ? parseInt ( Platform . Version as string , 10 ) : undefined ;
73
75
} ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ const FloatingPlaceholder = (props: FloatingPlaceholderProps) => {
71
71
} , [ ] ) ;
72
72
73
73
return (
74
- < View absF style = { hidePlaceholder && styles . hidden } >
74
+ < View absF style = { hidePlaceholder && styles . hidden } pointerEvents = { 'none' } >
75
75
< Text
76
76
animated
77
77
color = { getColorByState ( floatingPlaceholderColor , context ) }
Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ const styles = StyleSheet.create({
58
58
input : {
59
59
flexGrow : 1 ,
60
60
textAlign : Constants . isRTL ? 'right' : 'left' ,
61
+ outlineWidth : Constants . isWeb ? 0 : undefined ,
61
62
// Setting paddingTop/Bottom separately fix height issues on iOS with multiline
62
63
paddingTop : 0 ,
63
64
paddingBottom : 0 ,
You can’t perform that action at this time.
0 commit comments