Joyride positioned offscreen (#2)
Closed this issue · 3 comments
steve-tapley commented
Hi,
This is related to #13 , but now an item at the top is off the screen
See the plunkr for an example:
https://plnkr.co/edit/WUKd9diJaCoeJbhwjLWe?p=preview
Cheers,
Steve
ahmed-wagdi commented
Alright that shouldn't be a problem to fix but it might take me a few days to get to it.
steve-tapley commented
My hacky fix for this was in the setPos() function, approx line 328
if (position.top < 0) { var triangle = document.querySelector(".jr_container .triangle"); triangle.style.top = (position.top * 2) + 'px'; position.top = 0; }
ahmed-wagdi commented
Updated the package, it should be working now.