question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

bug: swipeToClose is not reactive

See original GitHub issue

Feature Request

Ionic version:

[x] 5.x

Describe the Feature Request

I want a Modal to don’t be able to slideToClose until i do something in the modal, so i want to be able to change that option from the Modal itself. I tried:

this.modal.getTop().then(modal => {
      modal.swipeToClose = true;
});

but that do not work.

Describe Preferred Solution

Setting it like i tried should work i think.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
EinfachHanscommented, Apr 17, 2020

i would love to 😍 Yeah it works! Thank you 🎉

0reactions
ionitron-bot[bot]commented, May 27, 2020

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

Read more comments on GitHub >

github_iconTop Results From Across the Web

bug: swipeToClose is not reactive · Issue #21072 · ionic-team ...
I want a Modal to don't be able to slideToClose until i do something in the modal, so i want to be able...
Read more >
Ionic 5 - SwipeToClose is impossible - Stack Overflow
My problem is quite simple : I try to implement a component in modal, but when I try to add SwipeToClose, it's not...
Read more >
ion-modal: Ionic Mobile App Custom Modal API Component
Note: The swipeToClose property has no effect when using a sheet modal as sheet modals must be swipeable in order to be usable....
Read more >
Ionic Modal In Vue JS, Managing Events - DEV Community ‍ ‍
We need to handle the scenario where the user clicks the backdrop to exit the modal; in that situation we do not want...
Read more >
framework7-vue | Yarn - Package Manager
Bug Fixes. core: export internal $jsx helper for lazy components (c2a2213), closes #4072; panel: don't process backdrop if disabled (c01b23c), closes #4069 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found