-
Notifications
You must be signed in to change notification settings - Fork 109
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
Trip blocks cut by the viewport #189
Comments
i think this problem is quite obvious since there is no much room for it. In this scenario, what is the best solution for it ? any discussion would be appreciated. This needs to change the algorithm itself for this edge case, should we change the position ? if so, to where ? ... etc questions are all included. |
Well I think bootstrap popovers have a good positioning. I think the box itself should go down and the pointer to remain on the same position. At least that's how bootstrap popovers work I think. And it will be nice to have an option to change the position if no room is available. For instance in that case if I put it on east there is no possible way to fit there and it automatically move it to west for example. From Bootstrap documentation:
|
ok interesting, i'll go check what's going on there in bootstrap popover. If possible, feel free to update Trip.js algorithm if you want, big thanks. |
We also experience this issue (3.0.0) UPDATE: My testing so far shows this already works correctly for the right-side of the screen. Only the left side is a problem. I think the process would be similar to: Also, adjusting the position of the arrow would be beneficial, but difficult to do neatly. |
Hey,
Sometimes when I place an item that needs to be highlighted in the corner, the trip block for it is going outside the window viewport. Any change this could be fixed?
The text was updated successfully, but these errors were encountered: