# Issue with drop zone maybe

**URL:** <https://forums.realmacsoftware.com/t/issue-with-drop-zone-maybe/45456>\
**Category:** Elements API\
**Created:** [November 29, 2024, 4:42pm UTC](https://forums.realmacsoftware.com/t/issue-with-drop-zone-maybe/45456 "2024-11-29T16:42:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [November 29, 2024, 4:42pm UTC](https://forums.realmacsoftware.com/t/issue-with-drop-zone-maybe/45456/1 "2024-11-29T16:42:12Z")

</div>

@dan

if I use Top in a div inside a div Top and Left work no issues in editor or safari

if I use the code in a Dropzone Top does not move in editor but in safari, Left works both in editor and safari

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [December 4, 2024, 8:54am UTC](https://forums.realmacsoftware.com/t/issue-with-drop-zone-maybe/45456/2 "2024-12-04T08:54:09Z")

</div>

This issue arises because the nested Box component in the editor is wrapped in a

 with a position: relative style. This wrapping 
 is automatically added by Elements to ensure the editor’s UI functions correctly.

While it’s possible to override this behavior and control the positioning, the process is quite advanced and requires modifications in the hooks.js file. Specifically, you would use the rw.setRootElement({}) method. Unfortunately, there’s currently a lack of detailed documentation and examples for this approach.

I’ll add this topic to our list of developer video tutorials that we plan on making in the near future!

---

<div class="post-metadata">

**Author:** ![upssjw](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/upssjw/32/26063_2.png) [@upssjw](https://forums.realmacsoftware.com/u/upssjw)\
**Post date:** [December 4, 2024, 11:22am UTC](https://forums.realmacsoftware.com/t/issue-with-drop-zone-maybe/45456/3 "2024-12-04T11:22:34Z")

</div>

@ben thanks, why is it ok with left but not top, not at my laptop to try bottom,  
I am away abroad for a few more days but I thought I had done this before maybe it was using css, might be my memory
