Git Product home page Git Product logo

Comments (23)

perrosnk avatar perrosnk commented on May 31, 2024 2

I still get this error:
View #50 of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow to a more specific component.

I am using ActionButton like this:
<View > <ActionButton active={true} buttonColor="rgba(251,184,41, 1)" /> </View>

from react-native-action-button.

himelnagrana avatar himelnagrana commented on May 31, 2024 1

in my case it solved by putting:
shadowOpacity: 0.9

The look is almost same but removes the warning.

from react-native-action-button.

alexprice1 avatar alexprice1 commented on May 31, 2024

I have submitted a pr to handle this case:
#63

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

thanks, merged

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

Hm which RN and ActionButton Version are you using?

from react-native-action-button.

perrosnk avatar perrosnk commented on May 31, 2024

I am using:
"react-native": "0.31.0",
"react-native-action-button": "^2.0.3",

from react-native-action-button.

plougsgaard avatar plougsgaard commented on May 31, 2024

Same issue here.

"react-native": "0.33.0",
"react-native-action-button": "2.0.3"

from react-native-action-button.

DonovanCharpin avatar DonovanCharpin commented on May 31, 2024

@plougsgaard Same dependencies, same issue.

from react-native-action-button.

perrosnk avatar perrosnk commented on May 31, 2024

@mastermoo is this problem going to be fixed soon?

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

@perrosnk Are you experiencing this on iOS? If so, I'll try to fix it

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

@perrosnk Are you experiencing this on iOS? If so, I'll try to fix it

from react-native-action-button.

plougsgaard avatar plougsgaard commented on May 31, 2024

@mastermoo the problem is only on iOS 😄

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

lol ok that's good

from react-native-action-button.

perrosnk avatar perrosnk commented on May 31, 2024

@mastermoo I haven't tried it on android, but I yes I am experience it on iOS. Thank you so much!

On Sep 22, 2016, at 14:20, Yousef Kama [email protected] wrote:

@perrosnk Are you experiencing this on iOS? If so, I'll try to fix it


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

Somehow I can't reproduce the warning using RNv0.31. Can someone provide a complete gist, so I can try it out? Or even better, send a PR with a fix :)

from react-native-action-button.

DonovanCharpin avatar DonovanCharpin commented on May 31, 2024

@mastermoo I have RNv0.33.0 and the issue :

<ActionButton buttonColor='rgb(250,153,102)'
              onPress={() => {
                this.openMessages();
              }}
              icon={<Icon name='message' size={14} color='white'/>}
/>

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

upgraded to v0.33 and tested your code, but still no warning showing up... waiting for a PR by someone, who can tackle this problem..
simulator screen shot sep 22 2016 5 53 33 pm

from react-native-action-button.

DonovanCharpin avatar DonovanCharpin commented on May 31, 2024

@mastermoo it solved my issue and I have the same result. Could you try it on your side? Unfortunately, I only tested on iOS.

from react-native-action-button.

mastermoo avatar mastermoo commented on May 31, 2024

i merged @DonovanCharpin PR. is everything good now?

from react-native-action-button.

stief510 avatar stief510 commented on May 31, 2024

This is still not working

from react-native-action-button.

edencakir avatar edencakir commented on May 31, 2024

I'm having this issue as well

from react-native-action-button.

shicn avatar shicn commented on May 31, 2024

I'm having this issue as well

from react-native-action-button.

 avatar commented on May 31, 2024

+1

from react-native-action-button.

Related Issues (20)

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.