CSS editing in Chrome caused layout trash
See original GitHub issuehey ya’ll
on develop b4700eb36af95ca0f5b1b0b205160bb26f6b076b
wondering if you guys have experienced any of the following issues
- source mappings not working
- when editing css in the browser - all css breaks and you have to refresh electron
might have something to do with this:
[8032:0622/095513.166795:ERROR:CONSOLE(906)] "TypeError: Cannot read property 'count' of undefined TypeError: Cannot read property 'count' of undefined
at Function.removeFrameAttribution (chrome-devtools://devtools/bundled/inspector.js:6632:284)
at Bindings.SASSSourceMapping._sourceMapDetached (chrome-devtools://devtools/bundled/inspector.js:6200:308)
at SDK.SourceMapManager.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:472:23)
at SDK.SourceMapManager.detachSourceMap (chrome-devtools://devtools/bundled/inspector.js:5332:48)
at SDK.CSSModel._resetStyleSheets (chrome-devtools://devtools/bundled/inspector.js:3719:200)
at SDK.ResourceTreeModel.dispatchEventToListeners (chrome-devtools://devtools/bundled/inspector.js:472:23)
at SDK.ResourceTreeModel._frameNavigated (chrome-devtools://devtools/bundled/inspector.js:5136:6)
at SDK.PageDispatcher.frameNavigated (chrome-devtools://devtools/bundled/inspector.js:5228:47)
at Protocol.InspectorBackend._DispatcherPrototype.dispatch (chrome-devtools://devtools/bundled/inspector.js:3195:26)
at SDK.Target._onMessage (chrome-devtools://devtools/bundled/inspector.js:3149:31)", source: chrome-devtools://devtools/bundled/inspector.js (906)
Issue Analytics
- State:
- Created 5 years ago
- Comments:5
Top Results From Across the Web
Google Chrome Dev Tools inspect element styles not showing
I just close the tab, and reopen it, and then right click > inspect element. Don't need to restore the whole dev tools...
Read more >Why is Chrome not applying the updated CSS to my website?
Anything that is considered non-volatile (meaning that it's not expected to change often) is cached. This means images, JavaScript, and CSS.
Read more >Chrome Update 83 CSS Garbage! - Google Support
This changes any and I mean ANY custom developed websites. As a developer, we need browsers to render in what the SERVER is...
Read more >Fix memory problems - Chrome Developers
This is possibly a symptom of frequent garbage collections. Garbage collection is when the browser reclaims memory. The browser decides when ...
Read more >Fixing Google Chrome compatibility bugs in websites - FAQ
The problem: HTML & CSS can't do pixel perfect layout. So font and element sizes can change slightly between browser versions and OSs....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think those are two different topics, but I have experienced both as well. 😦
So the error is, that media queries get stripped after an edit.
A dirty fix seems to be adding another css rule at the bottom of the style tag of a component not being a media query.