It looks like IconButton provides its own clickabl...
# compose
l
It looks like IconButton provides its own clickable modifier internally using the passed in onClick. I would like to use combinedClickable so I can long click the button. Is there a way to override this behaviour for IconButton? I tried applying combinedClickable to the IconButton’s modifier, but onClick and onLongClick are not called.
For now, I’m just going to create my own IconButton based off of the one Compose provides, that includes combinedClickable, but it would be nice if Compose supported this by default.
p
Yep, this is the way