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
  • #17656
Closed
Open
Issue created Sep 21, 2015 by Administrator@rootContributor

Dropdown should ignore clicks on <select>s (and <label>s?) within the dropdown

Created by: yksht

Hello. I tried to use dropdown plugin like a special area for options (some radio buttons) and found a strange behavior. You can see it here (try to click on select tag or labels for radio buttons): http://jsbin.com/jorota/edit?html,output

There is a simple check in bootstrap.js in this plugin

/input|textarea/i.test(e.target.tagName)

this behavior can be fixed by adding new tags through the '|'

/input|textarea|select|label/i.test(e.target.tagName)

is it possible to add this fix to release? or this is not a type of regular using of this plugin? but in this case: why there is 'textarea' in condition? :)

thank you :) and sorry for my bad english

Assignee
Assign to
Time tracking