@munsterlander Thanks! It might be a good quick-hack for me. I’ll choice your approach (with a patch of https://community.onsen.io/topic/984/slide-up-animation/6).
I’m worry a little about this approach that affects maintainability. A page of ons-modal is a highly parent-page-specific thing, so I want to write it within the parent page. (I’m using OnsenUI with react-onsenui and all of
ons-page's are separated into own
.jsx files (it is recommended approach of React; https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-multi-comp.md))
Creating a my own way of passing a dynamically generated
ons-page element to the static
ons-modal (it is placed to the root element) might be worked perfectly, but I hope that the
ons-modal is shown without consideration of the current page context.