Skip to content
New issue

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

Disabled state of button causing weird rectangular shadow #15

Open
ankuranurag2 opened this issue Feb 10, 2022 · 1 comment
Open

Disabled state of button causing weird rectangular shadow #15

ankuranurag2 opened this issue Feb 10, 2022 · 1 comment

Comments

@ankuranurag2
Copy link

If I disable the button using isEnabled=false, it causes a weird rectangular shadow around the button. Any fix for the same? The button works fine for enabled state.

image

@rishabhsinghbisht
Copy link

rishabhsinghbisht commented May 8, 2022

Have you used clipChildren = false on parent? If yes then most likely your shadows are getting outside your parent’s bounds too. So you’ll also have to add clipChildren = false to the next immediate parent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants