IV dragging in interaction UI glitch

Description

Steps to reproduce:
1) Create IV with YouTube video
2) Press and hold on "text" (or any other) interaction
3) Observe glitch in UI, controls of IV mostly disappears before dropping interaction.

Environment

None

Acceptance Criteria

1) No UI glitches when dragging interactions in IV

Activity

Show:
Tom Arild Jakobsen
August 21, 2017, 9:18 AM

Looks good! Closing task.

Thomas Marstrander
August 18, 2017, 1:03 PM

Used Andreas' fix suggestion

Andreas Nergaard
August 18, 2017, 10:05 AM

Note that Tim's suggestion removed this functionality for all the Drag n Bar elements, while mine targets only where it's needed, the youtube videos.

Thomas Marstrander
August 18, 2017, 9:40 AM

See earlier comments, this is the same solution that Timothy proposed. This does however improve upon the glitchy looking UI that exists today, it may be a good compromise for now because making a proper fix is likely to require some restructuring of the DnB and IV DOM.

Andreas Nergaard
August 18, 2017, 8:06 AM


I'm not sure I understand the scenario described in the comments, but would this fix it?

h5p-interactive-video/src/styles/interactive-video.css:1464
.h5p-interactive-video .h5p-video.h5p-youtube {
overflow: hidden !important;
}

It's not pretty I guess, but it seems to remove the glitch. Correct me if I'm wrong.

Done

Assignee

Thomas Marstrander

Reporter

Thomas Marstrander

Code reviewer

Tom Arild Jakobsen

Released

Released

Time remaining

0m

Fix versions