Is it possible with Jetpack compose when click on ...
# compose
j
Is it possible with Jetpack compose when click on element to get it position relative to screen? I am coming from react native and there it is possible but can not find anything similar with Jetpack compose. I need when click on element to get it offset from bottom. Thx in advance 🙂
z
Use
onPlaced
to store the
LayoutCoordinates
, then query that in your click handler.