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

Collapse animation jumps if an input field holds the focus

Created by: anormal81

I have two panels with forms and input fields. A button click triggers the collapsing of the first form and the expansion of the second one. The animation works fine if no input field has focus.

Try the example at http://jsfiddle.net/ZbAsN/1/ Set the cursor into the username text box an click the "create new user" button. The panel quickly jumps to the end position. Click "cancel" to return to the first panel.

Retry the same without focus in a text box. The animation will be executed as expected.

In addition: a slower click on the "create new user" button will transfer the focus to the button before the animation starts. The result looks like the expected behaviour.

Assignee
Assign to
Time tracking