Skip to content

dropdown wont close when click on component that uses stopPropagation #1814

Closed
@rinick

Description

@rinick
  1. paste following code in https://bootstrap-vue.js.org/play/
  2. click dropdown
  3. click tab
    drop down is not closed because tab eats the event with stopPropagation()
<b-tabs>
  <b-tab title="first" active>
    <br>I'm the first fading tab
  </b-tab>
  <b-tab title="second">
    <br>I'm the second tab content
  </b-tab>
</b-tabs>
<b-dropdown text="Dropdown Button">
  <b-dropdown-item>First Action</b-dropdown-item>
  <b-dropdown-item>Second Action</b-dropdown-item>
</b-dropdown>

I think it should close on mouseDown or mouseUp event, instead of on click event

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions