Skip to content

Commit

Permalink
Merge pull request #1916 from 4dn-dcic/utk_select_all_tooltip
Browse files Browse the repository at this point in the history
Enable React Tooltip for Disabled Buttons
  • Loading branch information
Onurcankaratay authored Nov 15, 2024
2 parents 40adc80 + ad7606d commit 27a1ce5
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 1 deletion.
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@ Change Log
----------


8.4.4
=====

`Enable React Tooltip for Disabled Buttons <https://github.com/4dn-dcic/fourfront/pull/1916>`_

* 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
=====

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
license = "MIT"
Expand Down
10 changes: 10 additions & 0 deletions src/encoded/static/scss/encoded/_bootstrap-theme-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 27a1ce5

Please sign in to comment.