Double-located
<ons-page modifier="p2">
<img src="img/top.png"/>
<ons-page modifier="p2_c1">
<img src="img/image.png"/>
</ons-page>
<span id="ipt13">move</span>
</ons-page>
Once I tap the element on this page, pushPage will transition to a new page.
The page addition process has been performed twice in a row.
Also, when I stopped duplication of
Is there a problem with using double like this?
The reason I have duplicated
The modifier="p2" part of the above source should not be scrolled by the CSS, and the modifier="p2_c1" part should be
Allow scrolling.
OnsenUI probably does not expect ons-page
to nest.Use ons-scroller
instead of ons-page
for some elements in the page to be scrollable.
http://ja.onsen.io/reference/ons-scroller.html
© 2024 OneMinuteCode. All rights reserved.