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

classNames spaces #1121

Closed
justivan opened this issue Jun 5, 2023 · 0 comments
Closed

classNames spaces #1121

justivan opened this issue Jun 5, 2023 · 0 comments
Labels

Comments

@justivan
Copy link

justivan commented Jun 5, 2023

Describe the bug
some of classNames do not allow space

To Reproduce
Steps to reproduce the behavior:

  1. just add space after the existing class
    classNames: { containerOuter: "choices ", containerInner: "choices__inner ", input: "choices__input", // does not allow spaces inputCloned: "choices__input--cloned ", list: "choices__list", // does not allow spaces listItems: "choices__list--multiple ", listSingle: "choices__list--single ", listDropdown: "choices__list--dropdown", // does not allow spaces item: "choices__item ", itemSelectable: "choices__item--selectable", // does not allow spaces itemDisabled: "choices__item--disabled ", itemChoice: "choices__item--choice ", placeholder: "choices__placeholder", // does not allow spaces group: "choices__group" , groupHeading: "choices__heading ", button: "choices__button ", activeState: "is-active ", focusState: "is-focused ", openState: "is-open ", disabledState: "is-disabled", // does not allow spaces highlightedState: "is-highlighted", // does not allow spaces selectedState: "is-selected", // does not allow spaces flippedState: "is-flipped ", loadingState: "is-loading", // does not allow spaces noResults: "has-no-results ", noChoices: "has-no-choices ", },

Expected behavior
Accepts the added classes without errors

Screenshots
image

Desktop (please complete the following information):

  • All browsers

Additional context
This was already raised before but I can't find anything that fixed the issue.

@justivan justivan added the bug label Jun 5, 2023
@Xon Xon mentioned this issue Aug 6, 2024
9 tasks
@Xon Xon closed this as completed Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants