Show focus group at the cursor location

What I need: I have a keyboard shortcut set up so when a user presses ‘/’ for example, a menu pops up. I need that menu to pop up whereever the user’s cursor is.

What I’ve tried: A focus group opens next to an element of my choosing, but it doesn’t work for my use case as the user’s cursor could be anywhere on the page.

My thought process: If I could access co-ordinates, I could theoretically save the user’s cursor co-ordinates to a state, and have said focus group open based on the state coordinates. This as far as I’m aware cannot be done.

Has anybody managed to do what I’m trying to do? Or have any workarounds, helpful advice or guidance?

Thanks in advance,

Ash :bearded_person:t4:

This topic was automatically closed after 70 days. New replies are no longer allowed.