8000 BTabs don't have a first tab open until the "nextTick", causing the fade transition to trigger. · Issue #2723 · bootstrap-vue-next/bootstrap-vue-next · GitHub
[go: up one dir, main page]

Skip to content
BTabs don't have a first tab open until the "nextTick", causing the fade transition to trigger. #2723
Closed
@xvaara

Description

@xvaara

Just noticed that in 0.30 released yesterday, if no id/index is defined, the logic doesn't have any tab open for the first tick. So the content is missing from the SSR and on client it causes the transition ti trigget on the first load after hydration.

Should it be rendered as default if nothing is defined? Or is the current "if defined we don't wait for the nextTick to render it, otherwise we wait for the nextTick to be able to emit the index back" more correct way to go?

@dwgray @VividLemon thoughts? With ID's it's not that clear which is the first one. And in setup context we can't resolve dynamic disabled state of the children, we have to wait until nextTick for them to be registered and at that point we have already rendered the ssr output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcompatibility enhancementFeature missing that is in bootstrap.js v5 or bootstrap-vue v2questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0