gs-akhan / react-native-chooser

Simple Cross Platform HTML Select Tag for react-native
MIT License
154 stars 47 forks source link

IOS Crash App #42

Open ghost opened 7 years ago

ghost commented 7 years ago

When i'm multi time clicking on choose before open option box. application crash. help me please

                  <Select
                       transparent={true}
                        optionListStyle = {{borderColor:'#d7d7d7',}
                        defaultText={this.state.companyText}
                        style={{borderWidth:0, width:(getDeviceWidth() * 0.64)}}
                        indicator="down"
                        backdropStyle={{backgroundColor:'rgba(0,0,0,0.5)'}}
                        placeholder="Select status"
                        indicatorColor="#666666"
                        onSelect={this.onSelectCompany}>
                         <Option styleText={{color:'#d9d9d9'}} value='' key={''} >Select company</Option>
                        {this.getCompany()}
                  </Select>

addition info: react-native-cli: 2.0.1 react-native: 0.47.2 node: 8.4.0

gs-akhan commented 7 years ago

Hi, I will check it in like few hours.

On Tue, Oct 31, 2017 at 2:51 PM, Amirkhanzada notifications@github.com wrote:

When i'm multi time clicking on choose before open option box. application crash. help me please

              <Select
                   transparent={true}
                    optionListStyle = {{borderColor:'#d7d7d7',}
                    defaultText={this.state.companyText}
                    style={{borderWidth:0, width:(getDeviceWidth() * 0.64)}}
                    indicator="down"
                    backdropStyle={{backgroundColor:'rgba(0,0,0,0.5)'}}
                    placeholder="Select status"
                    indicatorColor="#666666"
                    onSelect={this.onSelectCompany}>
                     <Option styleText={{color:'#d9d9d9'}} value='' key={''} >Select company</Option>
                    {this.getCompany()}
              </Select>

addition info: react-native-cli: 2.0.1 react-native: 0.47.2 node: 8.4.0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gs-akhan/react-native-chooser/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AFYnVhwTBzfsPl8-HecZT7J7ErhBdQvbks5sxuaegaJpZM4QMbzM .