Skip to content
Snippets Groups Projects
Commit dbeecd18 authored by Shpuld Shpludson's avatar Shpuld Shpludson
Browse files

Merge branch 'advanced-misclick-guard' into 'develop'

Instead of blocking all interaction, only block interaction in places that matter

See merge request !1276
parents b485d21b d126eddf
No related branches found
No related tags found
3 merge requests!1386Improve 3 column layout experiment,!1278Merge develop into master for 2.2.0,!1276Instead of blocking all interaction, only block interaction in places that matter
Pipeline #32541 passed
......@@ -59,6 +59,15 @@ $status-margin: 0.75em;
justify-content: flex-end;
}
._misclick-prevention & {
pointer-events: none;
.attachments {
pointer-events: initial;
cursor: initial;
}
}
.left-side {
margin-right: $status-margin;
}
......
......@@ -72,7 +72,7 @@ const Timeline = {
},
classes () {
let rootClasses = !this.embedded ? ['panel', 'panel-default'] : []
if (this.blockingClicks) rootClasses = rootClasses.concat(['-blocked'])
if (this.blockingClicks) rootClasses = rootClasses.concat(['-blocked', '_misclick-prevention'])
return {
root: rootClasses,
header: ['timeline-heading'].concat(!this.embedded ? ['panel-heading'] : []),
......
......@@ -113,7 +113,7 @@
}
&.-blocked {
pointer-events: none;
cursor: progress;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment