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

exact-active-class has no effect on BNavItem component. #1754

Open
6 tasks done
codetheorist opened this issue Feb 7, 2024 · 3 comments
Open
6 tasks done

exact-active-class has no effect on BNavItem component. #1754

codetheorist opened this issue Feb 7, 2024 · 3 comments
Labels
bug Something isn't working stale There has been no additional replies or questions and the thread is assumed closed

Comments

@codetheorist
Copy link

codetheorist commented Feb 7, 2024

Describe the bug

When using the BNavItem component, the expected behavior is for the component to pass all BLink attrs down. This is not the case and no classes are applied when using this prop. The prop DOES work on the BLink component.

This happens when using Nuxt 3 however as the prop works fine on the BLink component I suspect this will also be the same behavior in vanilla Vue 3.

Reproduction

https://stackblitz.com/github/bootstrap-vue-next/bootstrap-vue-next/tree/main/templates/vite?file=src%2Fcomponents%2FComp.vue,src%2FApp.vue

Used Package Manager

npm

Validations

  • Have tested with the latest version. This is still alpha version and sometime things change rapidly.
  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@codetheorist codetheorist added the bug Something isn't working label Feb 7, 2024
@gmw-web
Copy link

gmw-web commented Feb 22, 2024

The same applies to the BDropdownItem for both the exact-active-class and the active-class.

@VividLemon
Copy link
Member

Related: #1776 (comment)

Copy link
Contributor

This issue is stale because it has been open for 30 days with no activity. It will not be auto-closed

@github-actions github-actions bot added the stale There has been no additional replies or questions and the thread is assumed closed label Mar 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale There has been no additional replies or questions and the thread is assumed closed
Projects
None yet
Development

No branches or pull requests

3 participants