-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: always keep ui-kit poppers visible
we have a situation in that SOME osx users don't see tooltips and the dependency toggle on the services form. this is a workaround that always keeps poppers visible - where they would usually be hidden once their reference elements are scrolled out of the viewport. closes COPS-6624
- Loading branch information
1 parent
87806d4
commit 8bf67ed
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
// COPS-6624 | ||
// popper.js sometimes seems to think that our reference elements are outside of the viewport and marks them with this attribute. | ||
// ui-kit then chooses to set `visibility: hidden; pointer-events: none;`, which effectively hides the poppers for some OSX users. | ||
// this is a quickfix that we could try removing once we removed FullScreenModal from the code base. | ||
body [data-popper-reference-hidden] { | ||
visibility: visible !important; | ||
pointer-events: auto !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters