Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove scrolling-touch/auto utilities #2573

Merged
merged 2 commits into from Oct 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Removed `target` feature and dropped any compatibility with IE 11 ([#2571](https://github.com/tailwindlabs/tailwindcss/pull/2571))
- Switch `normalize.css` to `modern-normalize` ([#2572](https://github.com/tailwindlabs/tailwindcss/pull/2572))
- Remove `scrolling-touch` and `scrolling-auto` utilities ([#2573](https://github.com/tailwindlabs/tailwindcss/pull/2573))

## [1.9.2]

Expand Down
48 changes: 0 additions & 48 deletions __tests__/fixtures/tailwind-output-flagged.css
Expand Up @@ -24383,14 +24383,6 @@ video {
overflow-y: scroll;
}

.scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -65930,14 +65922,6 @@ video {
overflow-y: scroll;
}

.sm\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.sm\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.sm\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -107447,14 +107431,6 @@ video {
overflow-y: scroll;
}

.md\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.md\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.md\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -148964,14 +148940,6 @@ video {
overflow-y: scroll;
}

.lg\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.lg\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.lg\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -190481,14 +190449,6 @@ video {
overflow-y: scroll;
}

.xl\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.xl\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.xl\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -231998,14 +231958,6 @@ video {
overflow-y: scroll;
}

.\32xl\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.\32xl\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.\32xl\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down
40 changes: 0 additions & 40 deletions __tests__/fixtures/tailwind-output-important.css
Expand Up @@ -11344,14 +11344,6 @@ video {
overflow-y: scroll !important;
}

.scrolling-touch {
-webkit-overflow-scrolling: touch !important;
}

.scrolling-auto {
-webkit-overflow-scrolling: auto !important;
}

.overscroll-auto {
overscroll-behavior: auto !important;
}
Expand Down Expand Up @@ -28871,14 +28863,6 @@ video {
overflow-y: scroll !important;
}

.sm\:scrolling-touch {
-webkit-overflow-scrolling: touch !important;
}

.sm\:scrolling-auto {
-webkit-overflow-scrolling: auto !important;
}

.sm\:overscroll-auto {
overscroll-behavior: auto !important;
}
Expand Down Expand Up @@ -46368,14 +46352,6 @@ video {
overflow-y: scroll !important;
}

.md\:scrolling-touch {
-webkit-overflow-scrolling: touch !important;
}

.md\:scrolling-auto {
-webkit-overflow-scrolling: auto !important;
}

.md\:overscroll-auto {
overscroll-behavior: auto !important;
}
Expand Down Expand Up @@ -63865,14 +63841,6 @@ video {
overflow-y: scroll !important;
}

.lg\:scrolling-touch {
-webkit-overflow-scrolling: touch !important;
}

.lg\:scrolling-auto {
-webkit-overflow-scrolling: auto !important;
}

.lg\:overscroll-auto {
overscroll-behavior: auto !important;
}
Expand Down Expand Up @@ -81362,14 +81330,6 @@ video {
overflow-y: scroll !important;
}

.xl\:scrolling-touch {
-webkit-overflow-scrolling: touch !important;
}

.xl\:scrolling-auto {
-webkit-overflow-scrolling: auto !important;
}

.xl\:overscroll-auto {
overscroll-behavior: auto !important;
}
Expand Down
40 changes: 0 additions & 40 deletions __tests__/fixtures/tailwind-output-no-color-opacity.css
Expand Up @@ -10560,14 +10560,6 @@ video {
overflow-y: scroll;
}

.scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -26743,14 +26735,6 @@ video {
overflow-y: scroll;
}

.sm\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.sm\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.sm\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -42896,14 +42880,6 @@ video {
overflow-y: scroll;
}

.md\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.md\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.md\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -59049,14 +59025,6 @@ video {
overflow-y: scroll;
}

.lg\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.lg\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.lg\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -75202,14 +75170,6 @@ video {
overflow-y: scroll;
}

.xl\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.xl\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.xl\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down
40 changes: 0 additions & 40 deletions __tests__/fixtures/tailwind-output.css
Expand Up @@ -11344,14 +11344,6 @@ video {
overflow-y: scroll;
}

.scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -28871,14 +28863,6 @@ video {
overflow-y: scroll;
}

.sm\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.sm\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.sm\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -46368,14 +46352,6 @@ video {
overflow-y: scroll;
}

.md\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.md\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.md\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -63865,14 +63841,6 @@ video {
overflow-y: scroll;
}

.lg\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.lg\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.lg\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down Expand Up @@ -81362,14 +81330,6 @@ video {
overflow-y: scroll;
}

.xl\:scrolling-touch {
-webkit-overflow-scrolling: touch;
}

.xl\:scrolling-auto {
-webkit-overflow-scrolling: auto;
}

.xl\:overscroll-auto {
overscroll-behavior: auto;
}
Expand Down
2 changes: 0 additions & 2 deletions src/plugins/overflow.js
Expand Up @@ -14,8 +14,6 @@ export default function() {
'.overflow-y-visible': { 'overflow-y': 'visible' },
'.overflow-x-scroll': { 'overflow-x': 'scroll' },
'.overflow-y-scroll': { 'overflow-y': 'scroll' },
'.scrolling-touch': { '-webkit-overflow-scrolling': 'touch' },
'.scrolling-auto': { '-webkit-overflow-scrolling': 'auto' },
},
variants('overflow')
)
Expand Down