-
Notifications
You must be signed in to change notification settings - Fork 17
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
Fix breaking viewHelper while changing camera #469
Conversation
4b2dffe
to
b8929d4
Compare
Integration tests repot: appsharing.space |
Preview PR at appsharing.space |
738d099
to
bdf1aff
Compare
); | ||
} | ||
}; | ||
this.divRef.current?.appendChild(this._viewHelperDiv); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a question, how are we removing the old one now?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We're not removing it now as it was not necessary, just updating it with updateCamera
works.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What I mean is that you re-create a new this._viewHelperDiv
in updateCamera
, that you append to this.divRef.current
.
Don't we need to remove the old this._viewHelperDiv
that was created before?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 4602e00
Thank You for pointing this out :)
b365ff0
to
4602e00
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks ! 🚀
Failed UI tests are not related #471
Fixes #463
vh.mov