]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
iOS fix for role="button" elements; [fixes #15935] 15947/head
authorPatrick H. Lauke <redux@splintered.co.uk>
Sat, 28 Feb 2015 15:41:55 +0000 (15:41 +0000)
committerPatrick H. Lauke <redux@splintered.co.uk>
Sat, 28 Feb 2015 15:41:55 +0000 (15:41 +0000)
Fixes "clickability" issue (and more generally, the firing of events
such as focus as well) for traditionally non-focusable elements with
role="button" (see
https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile)

Fixes #15935

less/scaffolding.less

index 2a40fbcbe461423bbd411f0bb714db1b9a24de8e..532ca92d02da54d87b4d0fa7109b634bc92c654c 100644 (file)
@@ -148,3 +148,14 @@ hr {
     clip: auto;
   }
 }
+
+
+// iOS "clickable elements" fix for role="button"
+//
+// Fixes "clickability" issue (and more generally, the firing of events such as focus as well)
+// for traditionally non-focusable elements with role="button"
+// see https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
+
+[role="button"] {
+  cursor: pointer;
+}
\ No newline at end of file