beyondcode / beyondcode/devtoolsfortailwind-community

Elements disappear

Đang mở
#7 5 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
5
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

    Hướng dẫn đóng góp

    Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

    Hướng nghiên cứu

    Start with the custom tailwind.config.js, the darkMode: 'class' setting, and the Alpine.js x-on:class binding shown in the HTML snippet. Reproduce the issue by switching the Moon icon and inspecting elements, then narrow down the circumstances that make other elements disappear. Done means a reliable reproduction and a confirmed cause or clearly documented compatibility limitation.

    Do mô hình lập chỉ mục viết ra từ nội dung của issue.

    Đánh giá

    Công nghệ
    tailwindcss
    Lĩnh vực
    frontend, tooling
    Loại issue
    Lỗi
    Độ khó
    4/5
    Thời gian dự kiến
    3-5 ngày
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    25/100

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.