Skip to content

<b-dropdown-item :to="..."> renders button classes #2242

@tdbear

Description

@tdbear

<b-dropdown-item :to="...">Text</b-dropdown-item> renders <a href="..." class="dropdown-item btn btn-secondary" role="menuitem" target="_self">Text</a>. The problem is btn btn-secondary classes. This causes .btn.focus BS4 selector to kick in and results in an ugly border being added to menu item on hover. This does not look correct. When using <b-dropdown-item :href="..."> those classes are not rendered.

Metadata

Metadata

Assignees

No one assigned

    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