Skip to content

Conversation

@oliviertassinari
Copy link
Contributor

@oliviertassinari oliviertassinari commented Apr 12, 2019

I have found the issue in https://validator.w3.org/nu/?doc=https%3A%2F%2Fnext.material-ui.com%2Fdemos%2Flists%2F. We have a demo with this library.

Capture d’écran 2019-04-13 à 01 43 38

(n°1 is an issue with Next.js)

style: {
height: isHorizontal ? '100%' : estimatedTotalSize,
pointerEvents: isScrolling ? 'none' : '',
pointerEvents: isScrolling ? 'none' : null,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh weird 😮I would have sworn the else condition was undefined

@bvaughn
Copy link
Owner

bvaughn commented Apr 13, 2019

The browser seems to drop an empty-string pointer-events style though from what I can see, so I don't know if this would actually have had any impact? Still, I'll publish a bugfix release shortly.

@bvaughn bvaughn merged commit 59df8dd into bvaughn:master Apr 13, 2019
@bvaughn
Copy link
Owner

bvaughn commented Apr 13, 2019

v1.8.1

@oliviertassinari oliviertassinari deleted the patch-1 branch April 13, 2019 08:25
@oliviertassinari
Copy link
Contributor Author

I haven't noticed any impact. I aim at zero error reported by w3.org validator :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants