Git Product home page Git Product logo

react-native-indicator's People

Contributors

aamping avatar el2e10 avatar marcelglaeser avatar wangdicoder avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

react-native-indicator's Issues

Consult a question on the InteractionManager

First of all, your component is really good, but I encountered a problem, I am waiting for the fetch to display the animation, in order to optimize the performance of the request after the implementation of the method written in the InteractionManager.runAfterInteractions (callback), but your animation components Has been in the implementation of the runAfterInteractions incident can not be triggered. Is there a good suggestion?

Loaders dont have transparency on Android

Loaders which have transparency set in (i.e. opacity <1) like Ripple loader etc shows up without transparency on Android. Shows as desired on iOS.

android 10
RN: 0.63

Z-order

I have used this once in an earlier UI and it worked fine.

Now, I need to have it appear over a scroll view (or any component) and the z-order is not working. It appears behind the scrollview. Below is the code

Function called by rendered (to allow conditional rendering):

`
/*

  • get the activity indicator
    */
    getActivityIndicator()
    {

if(this.state.activityVisible)
{

 return (
   <View style={styles.overlayAnimation} >
     <View style>
   
       <BubblesLoader color="red" />
   
       <TextLoader text="Registering" />
   
     </View>
   </View>

   )
}

else
{
return ""
}

}`

The render section which calls this function:

` render()
{
return (

       <Button transparent onPress={() => Actions.pop()}>
         <Icon name="ios-arrow-back" />
       </Button>
  
       <Title>Register</Title>
     </Header>
  
  
     { this.getActivityIndicator() }
  
  
     <ScrollView >
  
            <View>
               <Text style={styles.labelCenter}>
                 Click here to select community
               </Text>
  
               <ModalPicker data={this.getCommunities() }  initValue="Gahanna" onChange={(option)=>{ this.setState({selectedCommunity:option.label})}}>
               </ModalPicker>
            </View>`

Note, I originally had the styling inline, but now using externally:

overlayAnimation:
{
position : 'absolute',
backgroundColor: 'red',
top : 150,
bottom : 0,
left : 165,
right : 0,
zIndex : 1,
},

LineDotsLoader

Element type is invalid: expected a string or a class but got : undefined error.

Thanks for this great component though!

strokeWidth not applying to RotationHoleLoader

Setting a value on strokeWidth results in no change of thickness.

eg

<RotationHoleLoader color="#fff" size={55} strokeWidth={4} />

The size works fine, the strokeWidth does nothing.

componentWillReceiveProps is deprecated

Hi,

Warning: componentWillReceiveProps is deprecated and will be removed in the next major version. Use static getDerivedStateFromProps instead.

Learn more about this warning here:
https://fb.me/react-async-component-lifecycle-hooks

Version:

react: 16.8.6
react-native: 0.60.3
react-native-indicator: 1.0.0

Expo SDK36 - "ARTShape"

Bug:
requireNativeComponent: "ARTShape" was not found in the UIManager.

On RN >= 60 and Expo SDK36 the project will not work because it works with '@react-native-community/art'
and he was removed on SDK 36.

this project needs to adopt or EXPO ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.