Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #17717
Closed
Open
Issue created Sep 27, 2015 by Administrator@rootContributor

Initial content in tab pane doesn't fade in

Created by: tomkel

According to the docs, one should add the class .in to a tab pane to fade in initial content. However, this doesn't happen.

v3: http://jsbin.com/yiyidawipo/1/edit?html,output v4: http://jsbin.com/pejehozisa/1/edit?html,output

Instead, "Hello, world!" appears without any initial fade-in.

The .in definition appears in component-animations.less as

.fade {
  opacity: 0;
  .transition(opacity .15s linear);
  &.in {
    opacity: 1;
  }
}

This doesn't work for the initial content, as shown above. However the following example shows that changing the opacity via javascript does allow the initial content to fade in correctly. http://jsfiddle.net/SO_AMK/a9dnW/

Assignee
Assign to
Time tracking