Closed SauravBaid closed 4 years ago
Could there be a possible reason for why the modal picker lags a lot in the app?
Here is a snippet of the code :
<ModalFilterPicker visible={visible} onSelect={this.onSelect} onCancel={this.onCancel} options={this.state.categoryOption} autoFocus={false} selectedOption="#FFCC00" overlayStyle = {styles.overlayStyle} listContainerStyle = {styles.listContainerStyle} optionTextStyle = {styles.optionTextStyle} titleTextStyle = {styles.titleTextStyle} optionTextStyle = {styles.optionTextStyle} filterTextInputContainerStyle = {styles.filterTextInputContainerStyle} cancelContainerStyle = {styles.cancelContainerStyle} cancelButtonStyle = {styles.cancelButtonStyle} cancelButtonTextStyle = {styles.cancelButtonTextStyle} />
Could there be a possible reason for why the modal picker lags a lot in the app?
Here is a snippet of the code :