Hello hello. Does Compose KMP supports drag to mul...
# multiplatform
l
Hello hello. Does Compose KMP supports drag to multi select out of the box? Like in the video. I recently created this for personal project that I'm developing and I'm wondering if this is worth extracting into a library and deploy in maven central. So, is there a simple way to solve this? Or a library for this makes sense?
K 2
s
That’s pretty cool, and it solves a huge problem of not being able to copy / interact with text from a desktop. Very cool!
l
Thanks! I mean to extract just this blue box and the multi selection layer, not the editor. The editor is already published as a set of libraries. If you're interested, there it is (SDK documentation is at the bottom of readme) https://github.com/leandroBorgesFerreira/Writeopia
s
@Scott Lanoue Doesn't
SelectionContainer
solve that already (just text selection, not this behavior)?
@Leandro Borges Ferreira You never know until you try! I think it'd be pretty useful to someone out there (e.g. file explorers use this pattern), so if you can figure out a nice API for it, why not!
l
I didn't know about SelectionContainer, that's really cool! Yep, you're right. It does some stuff that the
SelectionContainer
, it will probably be good for someone somewhere
Thanks for the input @Skaldebane!
đŸ™Œ 1