# Creating dom container messes up dragging

**URL:** <https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662>\
**Category:** Phaser 3\
**Created:** [May 24, 2021, 3:39pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662 "2021-05-24T15:39:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dominik\_M](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/dominik_m/32/5220_2.png) [@Dominik\_M](https://phaser.discourse.group/u/Dominik_M)\
**Post date:** [May 24, 2021, 3:39pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/1 "2021-05-24T15:39:42Z")

</div>

I wanted to add a nameform to my game with a dom element, but when setting the createContainer to true in config, it creates a div which has a style with a transform value that messes up the dragging of the player in my game. Is there a way to change that?

---

<div class="post-metadata">

**Author:** ![Milton](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Milton](https://phaser.discourse.group/u/Milton)\
**Post date:** [May 24, 2021, 3:41pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/2 "2021-05-24T15:41:27Z")

</div>

@rich Another one. Are you ever going to do anything about this?

---

<div class="post-metadata">

**Author:** ![rich](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/rich/32/4_2.png) [@rich](https://phaser.discourse.group/u/rich)\
**Post date:** [May 24, 2021, 5:01pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/3 "2021-05-24T17:01:26Z")

</div>

You’re free to just ignore these you know.

This has been fixed in master branch for a while waiting for the 3.55 release.

You don’t have to respond to every one of them.

---

<div class="post-metadata">

**Author:** ![Milton](https://avatars.discourse-cdn.com/v4/letter/m/87869e/32.png) [@Milton](https://phaser.discourse.group/u/Milton)\
**Post date:** [May 24, 2021, 5:03pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/4 "2021-05-24T17:03:51Z")

</div>

You just don’t care 🙂  
Don’t you think people give up on Phaser if they’re just left hanging?  
How hard is it to release a 3.54.1 with a fix…

---

<div class="post-metadata">

**Author:** ![rich](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/rich/32/4_2.png) [@rich](https://phaser.discourse.group/u/rich)\
**Post date:** [May 24, 2021, 5:24pm UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/5 "2021-05-24T17:24:24Z")

</div>

Apologies, your thread got somewhat salty hijacked. Make sure you use [3.55](https://github.com/photonstorm/phaser/releases/tag/v3.55.0)

---

<div class="post-metadata">

**Author:** ![maxiom](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/maxiom/32/5250_2.png) [@maxiom](https://phaser.discourse.group/u/maxiom)\
**Post date:** [June 2, 2021, 8:31am UTC](https://phaser.discourse.group/t/creating-dom-container-messes-up-dragging/9662/6 "2021-06-02T08:31:22Z")

</div>

Had a similar issue, when I`ve added the DOM it brakes my “tint over” and “tint out” events. The new 3.55 seems to fix it. Thanks, Milton for the caring of the newbies 😉 I almost gave up on Phaser after only 4 weeks of using it 🙂
