-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Description
Check that this is really a bug
- I confirm
Reproduction link
https://codesandbox.io/p/sandbox/gp743r?file=/index.html
Bug description
The Swiper CSS contains invalid SCSS-style &:only-child selectors, When compiled as-is, it ends up targeting the root element (or nothing) in the browser.
Expected Behavior
No response
Actual Behavior
The output CSS contains invalid SCSS-style selectors (&:only-child), which the browser ignores, and targeting the html element with a display: none;
Swiper version
12
Platform/Target and Browser Versions
MacOS, Chrome 141.0.7390.108
Validations
- Follow our Code of Conduct
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
- Make sure this is a Swiper issue and not a framework-specific issue
Would you like to open a PR for this bug?
- I'm willing to open a PR
rafu1987, gullithisouza, cbieser, Hachabala and Gruodis
Metadata
Metadata
Assignees
Labels
No labels