This repository was archived by the owner on Jul 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 77
This repository was archived by the owner on Jul 10, 2022. It is now read-only.
2 scrollers appear #55
Copy link
Copy link
Open
Labels
Need Minimal ReproNeed minimal reproduction (on CodeSandbox, JSFiddle, etc.).Need minimal reproduction (on CodeSandbox, JSFiddle, etc.).
Description
When using the trackpad, there're 2 scrollers. This doesn't happen when I plug a mouse.
Here're my HTML and CSS:
<div class="vuebar-element">
<div>
<!-- content here -->
</div>
</div>
.vuebar-element {
height: 250px;
width: 100%;
}
.vb > .vb-dragger {
z-index: 5;
width: 12px;
right: 0;
}
.vb > .vb-dragger > .vb-dragger-styler {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: rotate3d(0,0,0,0);
transform: rotate3d(0,0,0,0);
-webkit-transition:
background-color 100ms ease-out,
margin 100ms ease-out,
height 100ms ease-out;
transition:
background-color 100ms ease-out,
margin 100ms ease-out,
height 100ms ease-out;
background-color: rgba(156, 39, 176, .0);
margin: 5px 5px 5px 0;
border-radius: 20px;
height: calc(100% - 10px);
display: block;
}
.vb.vb-scrolling-phantom > .vb-dragger > .vb-dragger-styler {
background-color: rgba(156, 39, 176, .3);
}
.vb > .vb-dragger:hover > .vb-dragger-styler {
background-color: rgba(156, 39, 176, .5);
margin: 0px;
height: 100%;
}
.vb.vb-dragging > .vb-dragger > .vb-dragger-styler {
background-color: rgba(156, 39, 176, .5);
margin: 0px;
height: 100%;
}
.vb.vb-dragging-phantom > .vb-dragger > .vb-dragger-styler {
background-color: rgba(156, 39, 176, .5);
}
.vuebar-element:hover {
.vb-dragger-styler {
background-color: rgba(156, 39, 176, .3);
}
}
acupofspirt
Metadata
Metadata
Assignees
Labels
Need Minimal ReproNeed minimal reproduction (on CodeSandbox, JSFiddle, etc.).Need minimal reproduction (on CodeSandbox, JSFiddle, etc.).