HubSpot / vex

A modern dialog library which is highly configurable and easy to style. #hubspot-open-source
http://github.hubspot.com/vex/docs/welcome
MIT License
6.93k stars 497 forks source link

How to do vex with positioning ? #250

Open siims-biz opened 6 years ago

siims-biz commented 6 years ago

In html I have got a table with about 100 rows where the user can press a delete row button. Then I use vex.dialog.confirm to seek delete confirmation. How can I position the overlay dialog near the delete row button?

At the moment it always appears at the same spot.

bbatliner commented 6 years ago

Check out Tether, one of HubSpot's other open source projects. I think there is a way to achieve what you want!

EDIT: I just discovered Tether is no longer being maintained, but they suggest Popper.js as an alternative.