-
Notifications
You must be signed in to change notification settings - Fork 313
Closed
Description
To Reproduce
- When Xeokit's canvas is a descendant of a DOM elements
- with margins (top, left,...)
- when I navigate in the model, lets say pivot
- then the snapshot that gets blended in has a wrong offset (top, left) value assigned. It adds the ancestor's margins.
Expected behavior
Actually, I don't understand why the image gets top and left attributes set at all. It should be 0 for both of them.
Screenshots
I used one of the latest xoekit-bim-viewer demo examples and added some margins to #myContent
and #myViewer
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working