Have a coffee on me if you figure this out for me.
I’m sure there’s one of you highly smart Bubblers on here that can figure this out for me.
I want to open a menu right where the caret position is, so I know there’s the Mouse and Element plugin that can tell you the co-ordinates of an element, but the user’s caret (typing cursor) moves as they type so this plugin won’t move the menu with the caret.
I thought of the second option which is to do the above and pin it to the bottom right of the input field and figure out a way of having the input field dynamic width so the actual element width increases as they type but Bubble doesn’t do “dynamic width”.
The app I’m referring to is Notion where you can choose a command like /’ and it opens a menu right on the caret (typing) position. I know how to do keyboard commands, just need the co-ords of the caret.
Surely this is possible, I’ll chuck the person that solves this $10 if they figure it out and I implement it successfully so you can buy yourself a coffee on me.