# 2 Issues with canvas today using DnD

**URL:** https://community.thunkable.com/t/2-issues-with-canvas-today-using-dnd/1599558
**Category:** Questions about Thunkable X
**Created:** [November 5, 2021, 6:58pm UTC](https://community.thunkable.com/t/2-issues-with-canvas-today-using-dnd/1599558 "2021-11-05T18:58:04Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [November 5, 2021, 6:58pm UTC](https://community.thunkable.com/t/2-issues-with-canvas-today-using-dnd/1599558/1 "2021-11-05T18:58:04Z")

</div>

## Issue 1

When navigating to screen 2 from screen 1, canvas on screen 2 does not instantiate. When opening the app into screen 2 (preview) the canvas instantiates no issue. The canvas is visible on page load as a default.  
[https://vimeo.com/642817575](https://vimeo.com/642817575)

and here is an error in the console when loading the screen i reference in the video _ **from screen 1** _

 ![Screen Shot 2021-11-05 at 2.49.10 PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/0/2000fe63d0a9d07c1032c69ba58833c6b091f113.jpeg)

## Issue 2

> [@\[Solved\] Get computed width/height blocks not working in DnD](https://community.thunkable.com/t/get-computed-width-height-blocks-not-working-in-dnd/1599330):
>
> I am attempting to pick up on the width of the canvas by using the block “canvas computed width”. When i use this block, it returns 0. The way I am using it, I would expect to recieve a positive value because my canvas does in fact have width when I view it. What i want to do is touch the canvas and save the proportionate position of the click and not the pixel value. This is the only way to scale the positions across devices seamlessly AFAIK.

---

<div class="post-metadata">

### Author: ![muneer](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/muneer/32/75210_2.png) [@muneer](https://community.thunkable.com/u/muneer)
#### Post date: [November 6, 2021, 7:33am UTC](https://community.thunkable.com/t/2-issues-with-canvas-today-using-dnd/1599558/2 "2021-11-06T07:33:53Z")

</div>

I just tested your **Issue 2** using StP UI and it seems the same. I placed a button to show the computed height and width on the canvas but I get ZEROS all the time.

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 1:14pm UTC](https://community.thunkable.com/t/2-issues-with-canvas-today-using-dnd/1599558/3 "2024-11-08T13:14:27Z")

</div>


