diff --git a/CHANGELOG.rst b/CHANGELOG.rst index c35d000831..8731399ac2 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -7,6 +7,18 @@ Change Log ---------- +8.4.4 +===== + +`Enable React Tooltip for Disabled Buttons `_ + +* Resolved an issue where **React Tooltip** was not displayed for `button` elements with the `disabled` attribute. +* Updated CSS for disabled buttons: + - `cursor` is now set to `default`. + - `pointer-events` is now set to `auto`. +* Tooltips are now consistently visible for disabled buttons. + + 8.4.3 ===== diff --git a/pyproject.toml b/pyproject.toml index ccc24538db..5b34cd575d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [tool.poetry] # Note: Various modules refer to this system as "encoded", not "fourfront". name = "encoded" -version = "8.4.3" +version = "8.4.4" description = "4DN-DCIC Fourfront" authors = ["4DN-DCIC Team "] license = "MIT" diff --git a/src/encoded/static/scss/encoded/_bootstrap-theme-overrides.scss b/src/encoded/static/scss/encoded/_bootstrap-theme-overrides.scss index 8b8043135e..ce430eb8b2 100644 --- a/src/encoded/static/scss/encoded/_bootstrap-theme-overrides.scss +++ b/src/encoded/static/scss/encoded/_bootstrap-theme-overrides.scss @@ -24,6 +24,16 @@ vertical-align: middle; transform: translate(0,-0.45px); } + + &.disabled, + &:disabled { + cursor: default; + pointer-events: auto; + + &:active { + pointer-events: none; + } + } } .btn.btn-lg {