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

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

Closed
TimotheeJeannin opened this issue Jun 18, 2018 · 2 comments
Closed

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

TimotheeJeannin opened this issue Jun 18, 2018 · 2 comments
Labels
Type: Bug Bug or Bug fixes

Comments

@TimotheeJeannin
Copy link

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

@kazupon kazupon added the Type: Bug Bug or Bug fixes label Jun 18, 2018
@kazupon
Copy link
Owner

kazupon commented Jun 18, 2018

Thanks for your reporting.
I just have fixed now.

@TimotheeJeannin
Copy link
Author

Thanks for the fix!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants