I just updated to 1.6.0-beta02. It removes the `Pl...
# compose-desktop
s
I just updated to 1.6.0-beta02. It removes the
PlainTooltipBox
. Using
TooltipBox
works as expected on Android, but does nothing on desktop. Code in thread.
👀 3
Copy code
TooltipBox(
    positionProvider = TooltipDefaults.rememberPlainTooltipPositionProvider(),
    state = rememberTooltipState(),
    tooltip = {
        PlainTooltip {
            Text(tooltipText)
        }
    }
) {
    Icon(
        imageVector = imageVector,
        contentDescription = contentDescription,
        modifier = modifier,
        tint = tint,
    )
}
i
PlainTooltipBox
- was experimental + deprecated, it was removed in Google's Jetpack Compose
TooltipBox
- fixing
a
I'm using ToolTipArea
s
Should I wait for a new version for a working
TooltipBox
on desktop? They aren't an urgent priority for me.
i
Fixed in https://github.com/JetBrains/compose-multiplatform-core/pull/1070 However
focusable
parameter won't work - focusable
Popup
immediately steals hover and closes itself. We'll discuss this part of that API internally - most likely this parameter is subject of future changes
s
Thanks! I really appreciate your help with this.