material icon indicating copy to clipboard operation
material copied to clipboard

md-stretch-tabs always, breaking pagination

Open josephmiclaus opened this issue 11 years ago • 2 comments

When combining md-stretch-tabs="always" and leave out the md-no-pagination attribute :

img_0001 Note how the pagination controls are disabled.

Code :

<md-tabs
    id="station_creator_tabs"
    md-stretch-tabs="always"
    md-selected="stationCreator.stationTabIndex">

    <md-tab md-on-select="stationCreator.changeStationDetailTab()">
        <span>Basis</span>
    </md-tab>
    <md-tab md-on-select="stationCreator.changeStationDetailTab()">
        <span>Ort</span>
    </md-tab>
    <md-tab md-on-select="stationCreator.changeStationDetailTab()">
        <span>Editor</span>
    </md-tab>
    <md-tab md-on-select="stationCreator.changeStationDetailTab()">
        <span>Optionen</span>
    </md-tab>
</md-tabs>

<div ui-view="stationCreatorContent"></div>

I had to leave out the md-stretch-tabs attribute, thus resulting in pagination.

josephmiclaus avatar Sep 21 '15 14:09 josephmiclaus

Also seeing this

maevesechrist avatar Sep 28 '15 22:09 maevesechrist

This should be resolved.

robertmesserle avatar Nov 03 '15 22:11 robertmesserle