gilbarbara / react-joyride

Create guided tours in your apps
https://react-joyride.com/
MIT License
6.74k stars 524 forks source link

Alignment issues when not using isFixed #252

Closed bayweiheng closed 6 years ago

bayweiheng commented 7 years ago

Dear gilbarbara,

Firstly, thanks for this amazing library. I'm encountering this issue where a step with isFixed set to true gives the below (i.e. works properly),

image

but without isFixed results in weird positioning of the tooltip/overlay. However, I would not like to have to use isFixed, as the overlay will not center around the div element properly upon scroll. Please help! Thank you!

image

bayweiheng commented 7 years ago

The code is at https://github.com/raynoldng/nusmods/tree/development

IanVS commented 7 years ago

@bayweiheng this is likely because you have fixed elements on the side and top. There have been other issues related to this here as well, and if you search and find them you can probably find some solutions. Sorry I can't give too much guidance other than that at this time.

gilbarbara commented 6 years ago

This will be fixed in V2