Commit ddec9763 authored by Phil Hughes's avatar Phil Hughes

Fixes z-index bug when hovering in virtual scroller

This fixes a bug where if the user hovers the mouse over a different file
in the virtual scroller then the z-index bug for the more actions
dropdown appears again.
parent 8e948357
......@@ -213,9 +213,9 @@ export default {
const el = this.$el.closest('.vue-recycle-scroller__item-view');
if (this.glFeatures.diffsVirtualScrolling && el) {
// We can't add a class with Vue because of the way the virtual
// We can't add a style with Vue because of the way the virtual
// scroller library renders the diff files
el.classList.toggle('gl-z-index-1', val);
el.style.zIndex = val ? '1' : null;
}
},
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment