-
-
Notifications
You must be signed in to change notification settings - Fork 48
Labels
Description
Describe the bug
Adding a Html
component inside a primitive no longer works.
<primitive :object="model">
<Html v-if="!closeUp" :distance-factor="1.39" transform :position="[1, 0, 0.2]" :occlude="[back]">
<button class="
p-6
flex
items-center
rounded-full
text-4xl
hover:bg-dark
hover:text-white
transition-colors
duration-200
ease-in-out
" @click="onViewClose">
<i class="i-carbon-view" />
</button>
</Html>
<Html transform wrapper-class="webpage" :distance-factor="1.39" center :occlude="[back]"
:position="[0.17, -0.25, 0.05]">
<iframe class="rounded-xl overflow-hidden w-[430px] h-[852px] bg-white dark:bg-dark" src="https://tresjs.org"
frameborder="0" />
</Html>
</primitive>
Reproduction
Internal, cientos playground
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Code of Conduct
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- The provided reproduction is a minimal reproducible example of the bug.