# Sheet modal

**URL:** <https://forum.ionicframework.com/t/sheet-modal/221759>\
**Category:** Ionic Framework\
**Created:** [March 25, 2022, 2:12pm UTC](https://forum.ionicframework.com/t/sheet-modal/221759 "2022-03-25T14:12:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CodeNinja](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/codeninja/32/92654_2.png) [@CodeNinja](https://forum.ionicframework.com/u/CodeNinja)\
**Post date:** [March 25, 2022, 2:12pm UTC](https://forum.ionicframework.com/t/sheet-modal/221759/1 "2022-03-25T14:12:48Z")

</div>

Hi there,

Loving the new sheet modal, was just wondering if it is possible to dynamically update the “current” breakpoint value of the modal from code? Would like to have one modal open, then on some event, change the current position. Any thoughts on that?

Appreciate any ideas and/direction to achieve this effect.

Thanks!

---

<div class="post-metadata">

**Author:** ![CodeNinja](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/codeninja/32/92654_2.png) [@CodeNinja](https://forum.ionicframework.com/u/CodeNinja)\
**Post date:** [March 25, 2022, 3:01pm UTC](https://forum.ionicframework.com/t/sheet-modal/221759/2 "2022-03-25T15:01:04Z")

</div>

LOL. Nevermind. Was easy with the shadow dom parts and css 😋

---

<div class="post-metadata">

**Author:** ![Tommertom](https://avatars.discourse-cdn.com/v4/letter/t/ed8c4c/32.png) [@Tommertom](https://forum.ionicframework.com/u/Tommertom)\
**Post date:** [March 25, 2022, 6:27pm UTC](https://forum.ionicframework.com/t/sheet-modal/221759/3 "2022-03-25T18:27:35Z")

</div>

Nice  
Can u share code on how its done?
