We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When in M3, the shadow of the AnimateFAB is at level 6.
According to M3 spec, the FAB should have a shadow of level 3
The text was updated successfully, but these errors were encountered:
Hey @ericpoulinnz, there is applied elevation level 3 in the AnimatedFAB when isV3:
AnimatedFAB
isV3
const md2Elevation = disabled || !isIOS ? 0 : 6; const md3Elevation = disabled || !isIOS ? 0 : 3; return ( <Surface / ... / style={[ !isV3 && { elevation: md2Elevation, }, ]} {...(isV3 && { elevation: md3Elevation })} > / ... /
Sorry, something went wrong.
@lukewalczak I am using V3. It's in the styles that there is a problem.
/ ... / shadowWrapper: { elevation: 0, }, shadow: { elevation: 6, }, / ... / });``` Changing the elevation there to 3 works.
Thanks @ericpoulinnz, I will double check it 👍🏽
Successfully merging a pull request may close this issue.
Current behaviour
When in M3, the shadow of the AnimateFAB is at level 6.
Expected behaviour
According to M3 spec, the FAB should have a shadow of level 3
Your Environment
The text was updated successfully, but these errors were encountered: