Skip to content

Commit 57a71e7

Browse files
fix: resolve intermittent sidebar scroll failure in Chrome (#1264)
Fixes the issue with scrolling in Chrome wasn't always working.
1 parent 184ae3e commit 57a71e7

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

css/frame.css

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,17 @@
5353
/******************************************************************************/
5454

5555
#sidebar {
56-
overflow: auto;
56+
overflow-x: hidden;
57+
overflow-y: auto;
5758
position: absolute;
58-
z-index: 75;
59+
z-index: 80;
5960
top: 0;
6061
right: 0;
6162
bottom: 60px;
6263
width: 350px;
6364
border-left: 1px solid #dfdfdf;
6465
background: whitesmoke;
65-
66-
-webkit-overflow-scrolling: touch;
66+
overscroll-behavior: contain;
6767
}
6868

6969
.viz-group {
@@ -1113,12 +1113,14 @@ button#editor-chart-button {
11131113
left: 0;
11141114
width: 100%;
11151115
opacity: 0;
1116+
pointer-events: none;
11161117
background: rgba(253,253,253,0.9);
11171118
transition: 0.5s ease;
11181119
}
11191120

11201121
.only-pro-feature:hover .only-pro-content {
11211122
opacity: 1;
1123+
pointer-events: auto;
11221124
}
11231125

11241126
.only-pro-container {

0 commit comments

Comments
 (0)