https://kotlinlang.org logo
#compose
Title
# compose
n

Nick

02/16/2022, 4:04 PM
I’m building this. The suggestion box is under the cursor, and the textfield is multi line, so the cursor
y
location could change. how do I determine the
y
location of the cursor?
I was able to use a
BasicTextField
that way I have access to the
onTextLayout
, and use the logic from here to get the coordinates, and using NOT the
DropdownMenu
, but rather my own implementation of something similar, I am very close to getting this done.