Hotwire Native - A small pull causes page reload on modals

Hello,

Is there a way to disable reloading when you pull the modal a little? My pull_to_refresh_enabled false.
{ “patterns”: [“^/places/.+$”], “properties”: { “context”: “modal”, “pull_to_refresh_enabled”: false } },
In our project, there is a lightbox when you drag to the next photo, if you drag it a little like a pull, the page reloads like in the demo.

Okay, I didn’t know we have modal_style options. This worked better.
{ "patterns": ["^/places/.+$"], "properties": { "context": "modal", "modal_style": "full", "pull_to_refresh_enabled": false } },

1 Like