beyondcode / beyondcode/devtoolsfortailwind-community

Breakpoint are not loaded correct when DevTools is active

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

Description

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.

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.