stylex icon indicating copy to clipboard operation
stylex copied to clipboard

Invalid pseudo or at-rule

Open bupidoo opened this issue 5 months ago • 2 comments

I'm trying to add multiple Pseudo Selectors with not selectors, nesting dosen't work either. Get error message 'Invalid pseudo or at-rule'

visuallyHidden: {
		borderWidth: { ':not(:focus):not(:active)': 0 },
		clip: { ':not(:focus):not(:active)': 'rect(0 0 0 0)' },
		height: { ':not(:focus):not(:active)': 'auto' },
		margin: { ':not(:focus):not(:active)': 0 },
		overflow: { ':not(:focus):not(:active)': 'hidden' },
		padding: { ':not(:focus):not(:active)': 0 },
		position: { ':not(:focus):not(:active)': 'absolute' },
		whiteSpace: { ':not(:focus):not(:active)': 'nowrap' },
		width: { 'not(:focus):not(:active)': '1px' },
	},

Environment (include versions). Did this work in previous versions? latest stylex

bupidoo avatar Jan 04 '24 21:01 bupidoo