Author: Rien Heuver [rienheuver@gmail.com]
Committer: GitHub [noreply@github.com] Tue, 16 May 2023 20:46:14 +0000
Hash: f86c258fbe6939fd776ec3e956d174611cc791cd
Timestamp: Tue, 16 May 2023 20:46:14 +0000 (1 year ago)

+4 -1 +/-1 browse
Text cursor on text inputs (#368)
Text cursor on text inputs (#368)

Fixes #366
1diff --git a/src/extra/normalize.src.css b/src/extra/normalize.src.css
2index 833ba5c..8cc4304 100644
3--- a/src/extra/normalize.src.css
4+++ b/src/extra/normalize.src.css
5 @@ -76,8 +76,11 @@
6 }
7 }
8
9- :where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
10+ :where(a[href], area, button, input:not([type="text"], [type="email"], [type="number"], [type="password"], [type=""], [type="tel"], [type="url"]), label[for], select, summary, [tabindex]:not([tabindex*="-"])) {
11 cursor: pointer;
12+ }
13+
14+ :where(a[href], area, button, input, label[for], select, summary, textarea, [tabindex]:not([tabindex*="-"])) {
15 touch-action: manipulation;
16 -webkit-tap-highlight-color: transparent;
17 }