What options do we have for showing tooltip or bal...
# compose
s
What options do we have for showing tooltip or balloon when clicking on a icon?
z
I don’t think there’s anything specifically for tool tips in compose right now, but you could probably build something with
Popup
. I would start by looking at the
DropdownMenu
component to see how it does anchoring.
2
d
I imagine the desktop version of Compose will have something like this soon.
z
I wonder if it would be possible to implement something like what android actionbars do, where the tooltip text is automatically pulled from the accessibility content description or something. AFAIK it’s not possible to read child semantics, so i don’t know how you’d do that with the current API.
l
Did any of you implement a solution for that?