フルスクリーンのOnsenUIカルーセルで作業しています。問題は、私がスワイプ/カルーセルアイテムを変更してから向きを変えたり、ウィンドウのサイズを変更したりすると、うまく見えない場合です。この問題は公式のOnsenUIカルーセルの例にもあります。OnsenUI:オリエンテーション変更でカルーセルが更新されない
これは私が、次の午前のコードです:
<ons-carousel swipeable overscrollable auto-scroll fullscreen initial-index="1" var="carousel">
<ons-carousel-item style="background-color: gray;">
<div class="item-label">GRAY</div>
</ons-carousel-item>
<ons-carousel-item style="background-color: #085078;">
<div class="item-label">BLUE</div>
</ons-carousel-item>
<ons-carousel-item style="background-color: #373B44;">
<div class="item-label">DARK</div>
</ons-carousel-item>
<ons-carousel-item style="background-color: #D38312;">
<div class="item-label">ORANGE</div>
</ons-carousel-item>
<ons-carousel-cover>
<div class="cover-label">Swipe left or right</div>
</ons-carousel-cover>
</ons-carousel>
</ons-page>
ThisがOnsenUIサイトからペンです。
注:私はOnsenUIバージョン1.3.14
関連で固定されていますhttps://community.onsen.io/topic/424/changing-the-width-of-browser-window -does-not-change-the-scroll-width-of-onsen-carousel-onsen-ui-2/3 –