Skip to content

(dropdown+nav-item-dropdown): noCaret option causes unwanted side effects #1473

Closed
@jacobmllr95

Description

@jacobmllr95

Enabling the noCaret option on the dropdown or nav-item-dropdown component causes some unwanted styling issues due to dropping the .dropdown-toggle class.

Bootstrap uses this class for some minor styling changes for dropdowns in button-groups, input-groups and even the button itself.

A better solution would be to add a custom class like .dropdown-toggle-no-caret to the dropdown-toggle when the noCaret option is set and use some custom CSS to hide the caret.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions