getsentry / spotlight

Your Universal Debug Toolbar

Home Page:https://spotlightjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

More control over button positioning

staticshock opened this issue · comments

I'd like to keep all my dev tool buttons at the bottom of the screen, and I already have other things in the bottomLeft and bottomRight corners. Right now Spotlight necessarily overlaps with one of those. I'd love to render it next to the other tools, not on top of them. Do you have any recommendations for how to get this done?

Hi @staticshock right now we support some values for placing trigger.

you can pass anchor value while initializing Spotlight as centerRight | centerLeft | topLeft | topRight | bottomLeft | bottomRight.

Right now, we cannot pass custom values to place the Spotlight trigger.