You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"For our use-case we’re needing to be able to click on the individual BIM elements and we will have a tool that can display properties for that element when it is selected. I have this enabled, but the issue that I come across is when we are using a smaller screen (like a laptop screen) and the browser window is scrollable and the browser window is scrolled to the bottom, the alignment of the cursor and the canvas element that xeokit uses to render are offset. For our frontend design we cannot have the viewer always full screen since it is only a part of the interface so being able to have this issue resolved is important for our use case."
"This issue seems to be similar except our canvas is on the main page. The canvas height is set to 518px. I have a callback on the hover event from viewer.cameraControl that simply sets the PickResult.entity.highlighted = true . When the window is full screen or when it is scrolled all the way to the top of the page and all the way to the left, when you hover over an entity with the mouse cursor, the entity that is highlighted is the one that is directly under the mouse cursor. If you shrink your browser window so that you can scroll and then scroll down on the main window so that the canvas is shifted up in what is visible, then the entity that is highlighted is above where the mouse cursor is. This is also true for horizontal scrolling. If you shrink the window horizontally and scroll to the right, the entity that is highlighted is to the left of the cursor. This issue also scales with how much you scroll, so if you only scroll down a little bit the offset is small whereas if you scroll a large amount the offset is large"
The text was updated successfully, but these errors were encountered:
Issue reported by user:
"For our use-case we’re needing to be able to click on the individual BIM elements and we will have a tool that can display properties for that element when it is selected. I have this enabled, but the issue that I come across is when we are using a smaller screen (like a laptop screen) and the browser window is scrollable and the browser window is scrolled to the bottom, the alignment of the cursor and the canvas element that xeokit uses to render are offset. For our frontend design we cannot have the viewer always full screen since it is only a part of the interface so being able to have this issue resolved is important for our use case."
"This issue seems to be similar except our canvas is on the main page. The canvas height is set to 518px. I have a callback on the hover event from viewer.cameraControl that simply sets the PickResult.entity.highlighted = true . When the window is full screen or when it is scrolled all the way to the top of the page and all the way to the left, when you hover over an entity with the mouse cursor, the entity that is highlighted is the one that is directly under the mouse cursor. If you shrink your browser window so that you can scroll and then scroll down on the main window so that the canvas is shifted up in what is visible, then the entity that is highlighted is above where the mouse cursor is. This is also true for horizontal scrolling. If you shrink the window horizontally and scroll to the right, the entity that is highlighted is to the left of the cursor. This issue also scales with how much you scroll, so if you only scroll down a little bit the offset is small whereas if you scroll a large amount the offset is large"
The text was updated successfully, but these errors were encountered: