-
-
Notifications
You must be signed in to change notification settings - Fork 309
Description
Please complete the following information:
- Library Version 1.7.3
- Affected Device(s) All devices
Describe the Bug:
I was facing various crashes on v1.6.0 for this issue for which I planned to upgrade the library to v1.7.0, after updating it I got to know that the Balloon Composable function has been deprecated and had to replace it with the new modifier approach (As my current balloon composable way broke the whole balloon UI). On changing it my app started to crash for which I found out that it was an existing issue in v1.7.0 and had to further update it to v1.7.3. Also my balloon text was been shown in the full vertical layout taking the same width of almost as my anchor in v1.7.0 when using the Balloon composable. Now on upgrading to v1.7.3 and using the new approach still I am not able to get the proper intended UI. I have tried various ways to fix the width but it does not get fixed for me.
Below is the attached SS of how my UI looks on upgrading the library to 1.7.0/1.7.3 using the old balloon composable way.

Now on modifying the code to use the new approach(passing balloonState in modifier) the UI statrted to behave differently on different screens where I was calling the same function everywhere which set up my balloon.
|
|
|
Now talking about the various screens:
- Screen 1 - All Classes Screen: Is a composable
- Screen 2 - My Downloads Screen: Is a XML based layout where we use compose view inside
- Screen 3 - Home Screen: This is the part of a KMM module, here the tooltip is not visible at all
- Also on the Screenshot provided earlier (PW Library page) which was a composable page, was also getting the correct intended UI.
- Also getting similar vertical view in another screen also which is a KMM module too where it is not taking the horizontal width (Similar to the PW Library page)
I tried in multiple ways to fix this by fixing the height, the width, wrapping the content, setting width ratio etc but nothing worked for me
Expected Behavior:
To get a consistent UI over all the screens on using the balloon.


