# Fixed position: fixed?

**URL:** <https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181>\
**Category:** UXP Plugin API\
**Created:** [August 22, 2019, 2:13pm UTC](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181 "2019-08-22T14:13:42Z")\
**Posts on this page:** 1\
**Showing post:** 25

<div class="post-metadata">

**Author:** ![kerrishotts](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.creativeclouddeveloper.com/kerrishotts/32/8_2.png) [@kerrishotts](https://forums.creativeclouddeveloper.com/u/kerrishotts)\
**Post date:** [October 23, 2019, 8:13pm UTC](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181/25 "2019-10-23T20:13:36Z")

</div>

Oooooooh…

Ok, I think we have a bug here.

The fix in XD 23, in particular, was related to the fact that `position:fixed` could go out-of-bounds of the plugin. Assuming no other positioned ancestor elements, elements that are fixed are positioned now based on the container (not the entire plugin panel)

Where it does fall apart is when the overall plugin height is larger than the container – fixed positioning doesn’t work there. So for now, I’d use fixed positioning only in the case of trying to adjust to the width and height of the panel for more complex layout. For example, you could have the top-level panel div have `position: fixed; top: 0; left: 0; right: 0; bottom: 100px` and then another div beneath it positioned at 100px from the bottom, and it’ll stay fixed to the size of the panel.

---

_[View the full topic](https://forums.creativeclouddeveloper.com/t/fixed-position-fixed/1181)._
