Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

click event of b-tab is not emitted #2512

Closed
4dn-oss opened this issue Feb 4, 2019 · 0 comments · Fixed by #2530
Closed

click event of b-tab is not emitted #2512

4dn-oss opened this issue Feb 4, 2019 · 0 comments · Fixed by #2530

Comments

@4dn-oss
Copy link

4dn-oss commented Feb 4, 2019

In bootstrap-vue 2.0.0-rc.11, when tab was selected, click event of b-tab is emitted and it was available as in the example below.

https://codesandbox.io/s/2onkrxo0rj

However, bootstrap-vue on the dev branch no longer emits a click event. The click.native event also is not emitted.

The click event was useful for updating contents of b-tab on selecting the tab. Could you please make the click event available again?

OS: Windows 10 (1803)
Browser: Firefox 64.0.2
bootstrap-vue: dev (f9bab3a)

tmorehouse added a commit that referenced this issue Feb 12, 2019


When a non-disabled tab button is clicked (or keyboard nav activates tab), emits a `click` event on the respective `b-tab` component instance.  Passes the event object as the first argument.

Fixes #2512
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants