Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

[ais-pagination] CSS classes are added twice for ais-pagination_item #319

Closed
pixelastic opened this issue Oct 9, 2017 · 1 comment
Closed

Comments

@pixelastic
Copy link

Do you want to request a feature or report a bug?
Bug

Bug: What is the current behavior?
When specifying custom classes for ais-pagination__item, classes are added twice to the element.

Bug: What is the expected behavior?
Classes should be added only once.

The issue can be seen live at https://codepen.io/anon/pen/VMxaqZ

<ais-pagination v-bind:class-names="{'ais-pagination__item': 'foo bar baz'}"></ais-pagination>

image
image
image

The bug seem to occur whichever element is selected (first, last, any in the list).

It's not critical, as two CSS classes applied to the same element won't generate too much trouble, but I'd rather report it :)

@pixelastic
Copy link
Author

Thanks for the quick fix \o/

Haroenv pushed a commit to algolia/instantsearch that referenced this issue Dec 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant