Skip to content

Tabs not showing on page load #51

@vrsotto

Description

@vrsotto

hi @mikejacobson

I like this plug and using it on angularjs(1.x). prob is that not showing tabs on first page load only the arrows are visible (desktop view) or need to resize the window to make entire tabs working.

i think, something function(s) not triggering on page load.

	<div class="row portlet-title tabbable-line margin-n-lr-15" scrolling-tabs-wrapper>
		<!-- Standard Bootstrap ul.nav-tabs -->
		<ul class="nav nav-tabs" role="tablist">
			<li ng-class="{ 'active': tab.active, }" ng-repeat="tab in vm.tabsContent">
				<a ng-href="{{'#' + tab.paneId}}" role="tab" data-toggle="tab">{{tab.title}}</a>
			</li>
		</ul>
	</div>

	<div class="portlet-body">
		<!-- Tab panes -->
		<div class="tab-content tab-ep-contents">
			<div id="{{tab.paneId}}" class="tab-pane" ng-class="{ 'active': tab.active }" ng-repeat="tab in vm.tabsContent">
				<div ng-include="'app/components/client/profile/tabcontent/' + tab.content"></div>
			</div>
		</div>
	</div>
</div>

i hope you'll still availe to help w/ this issue

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions