From 4b0c3f2b8bdcf20a836940aedb40476ea85917d8 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 25 Jul 2016 07:47:31 -0700 Subject: [PATCH 1/2] Revert "Add pointer-events:none to disabled pager/pagination" This reverts commit a217db1923a552b53c7a0c005e69c598fbd1a98a. This reverts PR #18700 See the discussion in the comments on that commit. [skip sauce] --- less/pager.less | 1 - less/pagination.less | 1 - 2 files changed, 2 deletions(-) diff --git a/less/pager.less b/less/pager.less index d637667fa..41abaaadc 100644 --- a/less/pager.less +++ b/less/pager.less @@ -49,7 +49,6 @@ color: @pager-disabled-color; background-color: @pager-bg; cursor: @cursor-disabled; - pointer-events: none; // Future-proof disabling of clicks on `` elements } } } diff --git a/less/pagination.less b/less/pagination.less index 8adfe79a8..31f77aae4 100644 --- a/less/pagination.less +++ b/less/pagination.less @@ -71,7 +71,6 @@ background-color: @pagination-disabled-bg; border-color: @pagination-disabled-border; cursor: @cursor-disabled; - pointer-events: none; // Future-proof disabling of clicks on `` elements } } } From 6dc3bba1cb73509aadc6761cb929c83c1856443f Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Mon, 25 Jul 2016 07:51:14 -0700 Subject: [PATCH 2/2] Discourage usage of s for disabled pagination items Refs https://github.com/twbs/bootstrap/commit/a217db1923a552b53c7a0c005e69c598fbd1a98a#commitcomment-18275320 /fyi @patrickhlauke [skip sauce] --- docs/_includes/components/pagination.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_includes/components/pagination.html b/docs/_includes/components/pagination.html index 88cce2c9f..8a47c8355 100644 --- a/docs/_includes/components/pagination.html +++ b/docs/_includes/components/pagination.html @@ -77,7 +77,7 @@ {% endhighlight %} -

You can optionally swap out active or disabled anchors for <span>, or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.

+

We recommend that you swap out active or disabled anchors for <span>, or omit the anchor in the case of the previous/next arrows, to remove click functionality while retaining intended styles.

{% highlight html %}