Skip to content

Fix bug multiple accordions collapse#18847

Merged
mdo merged 1 commit intotwbs:v4-devfrom
Johann-S:fix18824
Oct 25, 2016
Merged

Fix bug multiple accordions collapse#18847
mdo merged 1 commit intotwbs:v4-devfrom
Johann-S:fix18824

Conversation

@Johann-S
Copy link
Member

Fix #18824

I'll add a unit test

Closes : #18824

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The collapse that you toggle needs to be within an accordion, so that it has a parent and thus triggers the code path that you've changed.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you're right thank you !

@Johann-S
Copy link
Member Author

Johann-S commented Mar 8, 2016

Any feedbacks @cvrebert ?

@Mr-Chilly
Copy link

+1

@stafast
Copy link

stafast commented Jul 1, 2016

$.makeArray($(this._parent).find(Selector.ACTIVES))
Working fine for me, thanks.

@Johann-S
Copy link
Member Author

Johann-S commented Jul 1, 2016

you're welcome @stafast 👍

@yellow1912
Copy link

Will this be merged soon? I would like to get this bug fix asap. Hopefully it will also fix my issue with nested collapse where clicking the child also closes the parent.

@Johann-S
Copy link
Member Author

Johann-S commented Jul 7, 2016

I hope this PR will be merged soon, but no review since January...

@mdo
Copy link
Member

mdo commented Oct 19, 2016

@Johann-S This is a bit out of date with the new card classes. Any chance you can update it? :D

@Johann-S
Copy link
Member Author

Sure I'll work on it :)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected var, use let or const instead no-var

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected var, use let or const instead no-var

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 8 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 10 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 8 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 8 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 10 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Expected indentation of 6 space characters but found 8 indent

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unexpected var, use let or const instead no-var

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No magic number: 2 no-magic-numbers

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'QUnit' is not defined no-undef
Unexpected function expression prefer-arrow-callback

@Johann-S
Copy link
Member Author

I think all it's done @mdo 💪

@mdo
Copy link
Member

mdo commented Oct 19, 2016

Thanks so much! I'll get this into the next alpha as soon as I can :).

@mdo mdo added this to the v4.0.0-alpha.6 milestone Oct 23, 2016
@mdo mdo merged commit 60e51bc into twbs:v4-dev Oct 25, 2016
@mdo mdo mentioned this pull request Oct 25, 2016
@Johann-S Johann-S deleted the fix18824 branch October 25, 2016 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants