Skip to content

Instantly share code, notes, and snippets.

View adipascu's full-sized avatar
👾
TW1oaHBoISBNTUhIUEghISE=

Adrian Pascu adipascu

👾
TW1oaHBoISBNTUhIUEghISE=
View GitHub Profile
/*
This fixes issues with:
- devices that incorrectly state they support hover (Samsung Galaxy Note 9, SM-N960F, Android 8.1, Chrome 73)
- devices that do not support media queries for hover, but they are enabled by default in Material-UI
*/
export default {
onProcessStyle(style, rule) {
if (rule.type !== 'style') return style;
let newProps = [];