-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Description
Hi, even if we can override the styles of the component, we can't override height or width as they are fixed const. And they are used everywhere in file to set layout's height/width.
For example, by:
<PasswordGesture
style={{width:400, height:680}}
ref="pg"
status={this.state.status}
message={this.state.message}
onStart={() => this.onStart()}
onEnd={password => this.onEnd(password)}
/>
Absolutely nothing happens.
Is there any option to alter it's height/width?
In fact, i want to enter the password-gesture inside a popup window, but i need to override Width = Dimensions.get('window').width and Height = Dimensions.get('window').height with parent's height/width, which is the size of the window popup .
So to sum up, my question is:
Is there any way to make the GesturePassword inherit height/width from parent view?
This issue was also referenced in #16 but closed without fix.
Metadata
Metadata
Assignees
Labels
No labels