beyondcode / beyondcode/devtoolsfortailwind-community

Elements disappear

Open
#7 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
No language data
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

I'm not sure you would class this as a bug, or it's a compatibility issue - but it's driving me bonkers.

* I'm using custom tailwind.config.js
* darkMode: 'class'
* alpine.js

My account on beyondcode - doesn't find the email my license was sent to, so can't PW reset, so i've signed up a new account and linked my GH profile, so you can verify the license with me directly.

Before activation:

image

If for example, I click on the "Moon" SVG icon (switch from dark / light mode) and inspect element.

toggle a class such as hover:text-gray-600

I loose other elements

image

I have had a hard time trying to replicate exact reproducible steps, as sometimes it works and sometimes it does the above. - under what circumstances I have no idea.

The only significan't things i'm using is TW darkmode class and alpine.js binding to x-on:class binding (but I would presume it ignores this)

```html

  • Home

  • ```

    Alpinejs class binding is no different to using Vuejs ```v-bind:class=```

    this might not even be the issue, but the only difference in standard css implementation that is in use.

    Contributor guide

    No contributing guide indexed for this repository

    Assessment

    This issue has not been assessed yet.

    Get new issues in your inbox

    A short digest of beginner-friendly GitHub issues.