Akryum / floating-vue

💬 Easy tooltips, popovers, dropdown, menus... for Vue
https://floating-vue.starpad.dev/
MIT License
3.31k stars 338 forks source link

Bottom position as fallback #1025

Open Bartek20 opened 7 months ago

Bartek20 commented 7 months ago

Is there any way to configure v-tooltip to change direction to top/bottom if default left/right overflows on both sides?

Expected fallback order:

  1. Position on right
  2. If right overflows position left
  3. If both right and left overflows position on top/bottom.

I know first two work with flip: true. I want to know how I can achieve number 3.