# \[BUG-14382\] Button icon get stuck when scrolling in flex container after position set to Center

**URL:** <https://forum.inductiveautomation.com/t/bug-14382-button-icon-get-stuck-when-scrolling-in-flex-container-after-position-set-to-center/26364>\
**Category:** Ignition Early Access\
**Created:** [July 8, 2019, 7:55pm UTC](https://forum.inductiveautomation.com/t/bug-14382-button-icon-get-stuck-when-scrolling-in-flex-container-after-position-set-to-center/26364 "2019-07-08T19:55:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfryar](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jfryar](https://forum.inductiveautomation.com/u/jfryar)\
**Post date:** [July 8, 2019, 7:55pm UTC](https://forum.inductiveautomation.com/t/bug-14382-button-icon-get-stuck-when-scrolling-in-flex-container-after-position-set-to-center/26364/1 "2019-07-08T19:55:49Z")

</div>

I am fairly certain I have found a bug in perspective. When displaying an icon on a button with scroll bars in the parent container the icon does not stick with the button but remains visible even beyond the scroll and also isn’t physically bound to the button.

This appears to be caused by the props.image.position button property being set to “center”. It does not happen on left, right, or any other position setting.

Here is the attached view.

[SCADAMobile\_2019-07-08\_1954.zip](https://us1.discourse-cdn.com/inductiveautomation/original/2X/2/2fb51ec296adb93ccae0b48575f0ee3d69ab9530.zip) (4.6 KB)

---

<div class="post-metadata">

**Author:** ![anjoroge](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/anjoroge/32/6698_2.png) [@anjoroge](https://forum.inductiveautomation.com/u/anjoroge)\
**Post date:** [July 8, 2019, 10:25pm UTC](https://forum.inductiveautomation.com/t/bug-14382-button-icon-get-stuck-when-scrolling-in-flex-container-after-position-set-to-center/26364/2 "2019-07-08T22:25:04Z")

</div>

Hi jfyar,

I was able to reproduce the issue and will write an internal ticket to track it. Thanks for bring it to our attention.

Anthony

---

<div class="post-metadata">

**Author:** ![awalker](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/awalker/32/6874_2.png) [@awalker](https://forum.inductiveautomation.com/u/awalker)\
**Post date:** [July 29, 2019, 5:16pm UTC](https://forum.inductiveautomation.com/t/bug-14382-button-icon-get-stuck-when-scrolling-in-flex-container-after-position-set-to-center/26364/3 "2019-07-29T17:16:07Z")

</div>

This issue was fixed in the 8.0.4 nightly build that was uploaded today (7/29).
