diff options
| author | Patrick H. Lauke <[email protected]> | 2015-03-02 12:35:33 +0000 |
|---|---|---|
| committer | Patrick H. Lauke <[email protected]> | 2015-03-02 12:35:33 +0000 |
| commit | 8e6934c1354645beb9743cbc87afea9fb43158a8 (patch) | |
| tree | 5a0552e86873ee2824e499b07dc6f1b605526e3d | |
| parent | 46f5a8f478afb2f2089f1fc886d72ecf4d55955c (diff) | |
| parent | 9c3e7e5861e6ba200a75bf4a63d0e5be0ef9f608 (diff) | |
| download | bootstrap-8e6934c1354645beb9743cbc87afea9fb43158a8.tar.xz bootstrap-8e6934c1354645beb9743cbc87afea9fb43158a8.zip | |
Merge pull request #15947 from patrickhlauke/ios-click-fix-role-button
iOS fix for role="button" elements; [fixes #15935]
| -rw-r--r-- | less/scaffolding.less | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/less/scaffolding.less b/less/scaffolding.less index 2a40fbcbe..532ca92d0 100644 --- a/less/scaffolding.less +++ b/less/scaffolding.less @@ -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 |
