question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CSS Styling is missing

See original GitHub issue

I searched stackoverflow and found a similar problem back in january and till now no good viable answer. I am not sure if it’s an issue or a bug.

Problem:

  • First one is the normal rendering. It contains all styles and such with proper styling.
  • Second one is the one where I tried to use Link, AutoScroll, Table, Column and whatnot element got the same screwed result. It simply loses the styles, also there is a problem with key property.
  • I used the dummy plukr provided with the issue template and it screwed up as soon as I provided a nested element.
  • Passing style can be done, that works neatly but passing anything with a className simply stops working.

I did not find any proper docs regarding this, I am not sure if I missed something really simple. What can be the issue and how can this be solved?

Here is the plukr link: https://plnkr.co/edit/fOa2pPGBit92W5eOmxF1?p=preview

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
wuweiweiwucommented, May 8, 2018

@entrptaher The issue is on this line

      rowRenderer={({ index, isScrolling, key, style }) => (

you need to apply the style to each of your rows. That styling is used to absolute position elements. within the virtualized List

Hope that helps!

0reactions
wuweiweiwucommented, May 9, 2018

className for Grid is applied to the root element as specified in the doc.

https://github.com/bvaughn/react-virtualized/blob/master/source/Grid/Grid.js#L1034

If you would like to submit a PR feel free!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Theme is missing the style.css stylesheet error
One of the reasons you may receive this error is if you have uploaded the incorrect file. You have 2 options for downloading...
Read more >
How to Fix “The package could not be installed. The theme is ...
What is the "The package could not be installed. The theme is missing the style.css stylesheet" error? · Go to Appearance → Themes...
Read more >
How to Fix "Theme is missing the style.css stylesheet" Error
The theme is missing the style.css stylesheet.” error message being displayed when trying to upload or activate the theme. This error message does...
Read more >
CSS styling missing | WordPress.org
we have the exact same problem (all CSS styling suddenly missing after update) and tried your suggested steps: 1. Disabled all plugins except...
Read more >
missing.css
missing.css : The Missing CSS Stylesheet · It starts with decent default styling for vanilla HTML, akin to classless CSS libraries, that can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found