[template] Position of template object resets to 0
See original GitHub issueI’m having some issues when applying the following template:
<script id="boxesTemplate" type="text/html">
<a-box width="0.2" height="1" depth="0.2" position="0 0.5 -0.2"></a-box>
<a-box width="0.2" height="1" depth="0.2" position="-0.2 0.5 0.2"></a-box>
<a-box width="0.2" height="1" depth="0.2" position="0.2 0.5 0"></a-box>
<a-box width="1" height="0.2" depth="1"></a-box>
</script>
When applied to an entity the child <a-box>
entities come through, but their position resets to 0:
<a-entity template="src: #boxesTemplate;"></a-entity>
I’m using aframe-template-component
v3.2.1
from npm
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top Results From Across the Web
C++ classes: How does one 'reset' a template field in the move ...
I'm writing a Node class for a Singly Linked List assignment. The class has two fields: elem and next. Elem is templated and...
Read more >When dropping groups from palettes on some existing group, the ...
On groupTemplate mouse drop event when we handle group creating the position of new group just gets reset to (0,0). Below is the...
Read more >Reset attributes to template specification
Use PI Builder to reset the values of attributes and the configurations of attribute data references to those in the template.
Read more >object-position - CSS: Cascading Style Sheets - MDN Web Docs
The object-position CSS property specifies the alignment of the selected replaced element's contents within the element's box.
Read more >Beyond the Basics - Resetting Attributes to Template in Bulk
00:00 Overview00:46 Investigate data in error01:25 Reset attributes to template in bulk with PI Builder03:08 Validate reset to template03:25 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll try to look some time. Feel free to debug the component, it’s not too complicated.
any news on this?