javascript - WinJS ListView placed into the Flyout or ContentDialog breaks after window resize -
i have winjs listview placed winjs flyout. being displayed fine until change window size after showing flyout @ least once. if flyout shown , change window size - listview breaks , doesn't display items correctly, background. there solution that?
html:
<div id="addrabbitflyout" data-win-control="winjs.ui.flyout" aria-label="{select rabbit add}"> <div id='addrabbitlistview' data-win-control="winjs.ui.listview" data-win-options="{ itemtemplate: select('.rabbittemplate'), layout: {type: winjs.ui.listlayout} }"> </div> </div>
css:
.win-container { width: 200px; } .win-surface { width: 100%; } .win-item { height: auto; margin-bottom: 5px; } .win-itembox { min-height: 40px; } .rabbitname { font-size: 12px; font-weight: 400; }
Comments
Post a Comment