EragonJ / Trip.js

🚀 Trip.js is a plugin that can help you customize a tutorial trip easily with more flexibilities.
https://eragonj.github.io/Trip.js/
MIT License
793 stars 111 forks source link

hiden element wrong positions #168

Open fgvicente opened 7 years ago

fgvicente commented 7 years ago

If one element is hide, take next. Now is show but in whrong position

EragonJ commented 7 years ago

@fgvicente if the element is hidden, by default you can't get it's position from javascript (Please check this demo : http://jsbin.com/qavemotovu/edit?html,css,js,console)

You can show the element first, then ask Trip.js to position at the right place. You can easily use onTripChange to do that.