Replies: 1 comment
-
Can someone figure out why it goes unresponsive after some time? if you open Developer Tools in advance you will be able to hit the "Pause" button any Creating a Chrome Extension with React and TypeScript I made a collection of more than 120 TailwindCSS blocks ready to copy-paste and is 100%. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Yesterday I noticed a strange behavior on my project.
I have a static HTML page with 2 CSS files - the default Tailwind CSS + my own custom styles.
If I open the HTML file in Firefox 72 - the page works as expected.
But if I open the HTML file in Chrome 79 - the browser enters some heavy loop of style recalculations and layout recomputation and exits the loop after about 90 seconds. Then, when I try to open the single drop-down list on the page - it takes forever and some parts of the browser UI become unresponsive.
However, there is something strange - when I use the production version of the Tailwind CSS file (output from the PurgeCSS), there is no issue and the page works as expected.
To demonstrate the issue:
index.html
file (notice that initially it is referencingtailwind.css
)index.html
to reference_tailwind.css
(notice the leading underscore) and reload the pageAny ideas or suggestions how to debug the issue ?
Beta Was this translation helpful? Give feedback.
All reactions