We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 67d468b commit 576e76fCopy full SHA for 576e76f
app/components/scroll-container.js
@@ -31,14 +31,16 @@ export default class ScrollContainerComponent extends Component {
31
if (index === -1) {
32
return htmlSafe('display: none;');
33
} else {
34
+ const height = itemHeight ?? 0;
35
+
36
return htmlSafe(`
37
position: absolute;
38
width: 100%;
- height: ${itemHeight || 0}px;
39
+ height: ${height}px;
40
margin: 0px;
41
padding: 0px;
- top: ${index * itemHeight || 0}px;
42
left: 0px;
43
+ top: ${index * height}px;
44
z-index: -9999;
45
pointer-events: none;
46
`);
0 commit comments