Skip to content
This repository was archived by the owner on Dec 31, 2024. It is now read-only.
This repository was archived by the owner on Dec 31, 2024. It is now read-only.

v-t is breaking parent v-if in various situations #377

Description

@TimotheeJeannin

Hi,

When using vue-i18n, in a specific scenario, some text is displayed when it shouldn't be.

Reproduction Link

https://jsfiddle.net/7s5brn12/

Notes

In the JSFiddle above, if i stop using v-t, everything works fine. But as soon as I want to translate the string SHOULD_NOT_DISPLAY_WHEN_TIMEOUT_EQUAL_TRUE, then the text is ignoring the v-if directive.

Steps to reproduce

Click on the click me to start timeout button.

What is Expected?

SHOULD_NOT_DISPLAY_WHEN_TIMEOUT_EQUAL_TRUE should be hidden during the duration of the timeout.

What is actually happening?

SHOULD_NOT_DISPLAY_WHEN_TIMEOUT_EQUAL_TRUE is displayed during the duration of the timeout.

Let me know if you need more explanation/details.

Tim

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions