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

ColorMode removes lang/dir attributes from html tag #172

Open
joezak11 opened this issue Oct 25, 2022 · 0 comments
Open

ColorMode removes lang/dir attributes from html tag #172

joezak11 opened this issue Oct 25, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@joezak11
Copy link

Version

@nuxtjs/color-mode: 3.1.8
nuxt: 3.0.0-rc.12

Reproduction Link

Steps to reproduce

app.vue:

<template>
    <Html dir="rtl">
        <!-- Whatever -->
    </Html>
</template>

What is Expected?

the dir attribute to persist

What is actually happening?

any attributes on html tag are removed when colormode loads and are replaced with colormode's attributes

@joezak11 joezak11 added the bug Something isn't working label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant