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
  • #10236
Closed
Open
Issue created Aug 28, 2013 by Administrator@rootContributor

affix: reloading a scrolled window does not apply correct affix class

Created by: heldchen

under certain circumstances, the affix-bottom class is not added when it should.

to reproduce:

  1. load http://getbootstrap.com/javascript/
  2. make window height around 1040px wide and 500px height
  3. scroll to the very bottom of the page
  4. refresh/reload page

now the affixed element has the class .affix instead of .affix-bottom:

image

  1. click anywhere or start scrolling

now the affixed element has the correct class.

Assignee
Assign to
Time tracking