fatihsolhan / v-onboarding

v-onboarding is a super-slim, fully-typed onboarding component for Vue 3
https://v-onboarding.fatihsolhan.com/
MIT License
170 stars 22 forks source link

Ability to control where the overlay pops up #105

Closed schachmatthias closed 2 months ago

schachmatthias commented 3 months ago

Is your feature request related to a problem? Please describe. Maybe I am missing something, but as fast as Im aware there is no possibility to control where the overlay per step pops up, right?

Describe the solution you'd like It would be nice to control it in the options per step flag. Similar to the scrollToStep, where you can say for example overlay: top, right, left, bottom, center etc

This would be useful especially if you have a long table you want to explain/highlight where as of now it would scroll down all the way to the bottom.

schachmatthias commented 3 months ago

Aaah nevermind. I didnt realize it uses the popper library up until now. So with options: { popper: { placement: 'top' } }

I got what I wanted. :)

fatihsolhan commented 3 months ago

Hey @schachmatthias you can override options per step https://v-onboarding-docs.fatihsolhan.com/props/steps Check options key