'width' attribute NaN
Closed this issue · 4 comments
TatsumiSan commented
Hello,
Using your basic example I got the following error :
- Warning: Received NaN for the
width
attribute. If this is expected, cast the value to a string.
Here is what I did :
- change the children (I did not used createChildren(20) where createChildren is using n => range(n).map(....)
- I removed all the placeholder configurations cause I don't need them
Thank you for your help.
TatsumiSan commented
I have some news ;
This time I used the same example hat you used in your demo and :
- I have the same error
- when I remove the placeholder when I access the page where I have the carousel there is no errors but when I ctrl-F5 or F5, the error is displaying.
By the way I'm using
"react": "^16.3.1",
"react-dom": "^16.3.1",
TatsumiSan commented