Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positioning of arrow element is incorrect when element is at edge of screen #588

Open
jmargulis opened this issue Oct 22, 2016 · 0 comments

Comments

@jmargulis
Copy link

If you choose an element that is relatively small at the edge of the screen, the tour step is repositioned to stay on the screen, but the arrow element pointing at the intended element does not quite get back to the center of that element.
Here is an example:
image
Here is a screenshot of the code:
image

jmargulis pushed a commit to jmargulis/bootstrap-tour that referenced this issue Oct 22, 2016
Position the arrow based on it’s previous positioning. Use the
difference it had from the halfway (50%) point and add that the the
previous calculation to properly determine it’s new position.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant