beyondcode / beyondcode/devtoolsfortailwind-community

Breakpoint are not loaded correct when DevTools is active

オープン
#27 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
言語のデータがありません
スター
5
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

説明

This happens quite often: when I load a page with the DevTools active (inspector panel open) where I've set Tailwind breakpoints these breakpoints are not respected.

For example, if I have an element set to be hidden on mobile and shown on medium breakpoint like this:
```html

Element hidden on mobile

```
When I load this page with viewport wider than the medium breakpoint and the DevTools active the div is hidden. Even if I reload the page. Only when I click on the div in the elements tab it is drawn, or if I close the web inspector and reload the page.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

ソースファイル、テスト、エントリポイントは指定されていません。DevToolsを開いた状態で、提供されている hidded md:flex の例を使って、medium breakpoint より広い viewport で再現してください。初期レンダリングと、DevToolsを閉じた後に要素を選択した場合または再読み込みした場合を比較し、その後 breakpoint の読み込み経路を特定して、初期レンダリングのカバレッジを追加してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
tailwindcss
領域
devtools, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。