-
Notifications
You must be signed in to change notification settings - Fork 0
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
Show multiple items when initialize #40
Conversation
…mating status to open multiple active section in default
✅ Deploy Preview for easy-tab-accordion ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
I don't understand what are you trying to achieve here! |
Please merge this branch into branch |
src/_index.js
Outdated
@@ -150,6 +153,8 @@ export class EasyTabAccordion{ | |||
} | |||
} | |||
|
|||
this.hasActivatedSection = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the point of line 145 when you override the value immediately here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check my comments.
|
@vuquangpham I was talking about this one #40 (comment) |
@vuquangpham Any updates? |
@phucbm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Problem
activeSections
) in the array.Why
We have a condition for blocking to avoid the double click on the animating item, but we need to escape that condition if we input
activeSections
in the array by defaultProblem
hasActivated
flag for checking it ingetToggleState
function.