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

Popover shadow is getting cut in case giving specific height/width ? #134

Closed
haliltprkk opened this issue Dec 15, 2020 · 1 comment
Closed
Assignees
Labels
bug Something isn't working Released Released already on the latest version.

Comments

@haliltprkk
Copy link

  • Library Version [1.2.8]

I am using a custom layout which contains a scrollView(I tried to remove scrollView but it didn't solve)

      Balloon balloon = new Balloon.Builder(context)
                .setArrowSize(10)
                .setLayout(R.layout.custom_leg_info_dialog)
                .setArrowOrientation(ArrowOrientation.RIGHT)
                .setHeight(layoutHeightDp)
                .setArrowConstraints(ArrowConstraints.ALIGN_ANCHOR)
                .setWidthRatio(0.7f)
                .setArrowDrawable(drawable)
                .setCornerRadius(6f)
                .setElevation(5)
                .setAlpha(1f)
                .setBalloonAnimation(BalloonAnimation.ELASTIC)
                .setBackgroundColor(ContextCompat.getColor(context, R.color.white))
                .setBalloonAnimation(BalloonAnimation.FADE)
                .build();

It looks like this,

Screen Shot 2020-12-15 at 17 29 40

Also, I have noticed that same thing happening for the case giving specific width

Screen Shot 2020-12-15 at 17 30 46

I have tried lots of things but I couldn't find a solution.

Thank you so much in advance!

@skydoves skydoves self-assigned this Dec 15, 2020
@skydoves skydoves added the bug Something isn't working label Dec 15, 2020
@skydoves skydoves added the Release Next This feature will be released on next version label Dec 23, 2020
@skydoves
Copy link
Owner

Released a new version 1.2.9!
Thanks for your issue :)

@skydoves skydoves added Released Released already on the latest version. and removed Release Next This feature will be released on next version labels Dec 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Released Released already on the latest version.
Projects
None yet
Development

No branches or pull requests

2 participants