[Threejs/editor] viewHelper on "viewport" not working when i set margin-left the "viewport"

I am encountering an issue with adding a left sidebar to the Editor. I have made changes to the CSS in the “viewport” file of the Editor from

#viewport {
position: absolute;
top: 32px;
left: 0;
right: 300px;
bottom: 0;
}

to

 #viewport {
position: absolute;
top: 32px;
left: 300px;
right: 300px;
bottom: 0;
// margin-left: 300px;
}

to create space for the addition of the left sidebar.

However, when I attempted to click
on the viewHelper panel on the viewport, the viewHelper did not function properly. Would you kindly assist me in identifying the cause of this issue and provide guidance on how to resolve it? Thank you very much.

Screen Shot 2023-04-03 at 17 49 01

Untitled

Hi @nguyentuannhat
I’m very happy for replying to your first post.
Congratulation!
but I can’t understand what you want to do after reading your post.
Please write in more detail about whole code. Let’s find the mistake with more detailed codes
Thanks. :grinning:

Thank you for taking the time to help me, you can watch the video below to understand better.
https://www.youtube.com/watch?v=KtWfn49XB1A

@nguyentuannhat your problem seems to be solved here
just wait for new release or get latest ViewHelper