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

Strange background effect on emulator (and some devices) #34

Open
amanzan opened this issue Mar 9, 2021 · 1 comment
Open

Strange background effect on emulator (and some devices) #34

amanzan opened this issue Mar 9, 2021 · 1 comment

Comments

@amanzan
Copy link

amanzan commented Mar 9, 2021

I'm testing with an emulator (Pixel 4 API 29) and I am noticing a strange effect when opening a SuperBottomSheet. It happens at the top, it's like a flick when opening. Seems like it's not doing the slide animation in a smooth way for some reason. I also tested in a device (Realme X2 PRO) with a similar effect.

But here's the weird thing: using exactly the same example with the same code, I tested in 2 other devices (Redmi and Huawei), and it works very well and smooth, without any strange effect or anything similar.

I assume this is not an easy bug to identify, but just in case, any idea what could it be, and how to solve it?

Attached video for a better understanding of the issue:

Screen.Recording.2021-03-09.at.19.21.17.mov
@RahulSDeshpande
Copy link

RahulSDeshpande commented Aug 16, 2021

@amanzan @andrefrsousa

The background grey effect is actually mocked in the library.
It means, in the library layout there is a fake faded grey background.

So when the bottom sheet starts appearing, this fake background also starts appearing & thus you see this strange effect 😄

For reference, you can check this layout super_bottom_sheet_dialog.xml.

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