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

fix: fix to toggle collapse #144

Merged
merged 3 commits into from
Jan 11, 2021
Merged

fix: fix to toggle collapse #144

merged 3 commits into from
Jan 11, 2021

Conversation

thiagoabreudev
Copy link
Collaborator

No description provided.

Copy link
Member

@leomp12 leomp12 left a comment

Choose a reason for hiding this comment

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

@thiagoabreudev testou se o primeiro collapse continua iniciando aberto por padrão?

@thiagoabreudev
Copy link
Collaborator Author

Agora sim @leomp12

<b-collapse
class="card-body"
accordion="admin-settings"
:id="'collapse-' + i"
:visible="visibleCollapse === i"
:visible="i == 0"
Copy link
Member

Choose a reason for hiding this comment

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

Hmm, mas isso não vai forçar o primeiro sempre visível @thiagoabreudev ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Não

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@leomp12 , esse cara é somente para status inicial, veja: https://bootstrap-vue.org/docs/components/collapse#collapse

Copy link
Member

Choose a reason for hiding this comment

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

Tendeu, API contraditória 😛

@leomp12 leomp12 merged commit 4e94fae into master Jan 11, 2021
@leomp12 leomp12 deleted the issue-137-collapse-problem branch January 11, 2021 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants