beyondcode / beyondcode/devtoolsfortailwind-community

Breakpoint are not loaded correct when DevTools is active

Offen
#27 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Keine Sprachdaten
Sterne
5
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

No source files, tests, or entry points are named. Reproduce with the provided hidded md:flex example while DevTools is open, using a viewport wider than the medium breakpoint; compare the initial render with selecting the element or reloading after closing DevTools, then locate the breakpoint-loading path and add coverage for the initial render.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
tailwindcss
Bereich
devtools, frontend
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.