DragText: Wrong placement of draggables (especially inside CP)

Description

Problem reported here:
https://h5p.org/node/113306

Environment

None

Acceptance Criteria

Drag text either places words side by side below the text or below each other next to the text Reply on forum entries

Attachments

1

Activity

Timothy Lim November 5, 2017 at 12:53 PM

, I found a bug on the example content on H5P.org last night, 'Instant feedback' was broken.

This was due to the resizing being called recursively thereby overriding the feedback calculations before they could be completed.

I've made a much cleaner solution that doesn't require a setTimeout(). Turns out it wasn't even necessary to begin with.

Ravi M November 5, 2017 at 6:02 AM

Thank you Timothy and Pål!

Pål Jørgensen November 3, 2017 at 10:39 AM

Tested, released and added comment on relevant h5p.org forum post

Timothy Lim November 3, 2017 at 10:06 AM

My changes weren't pushed to staging. I made a slight improvement so that the content is rendered within the frame correctly.

Pål Jørgensen November 2, 2017 at 3:16 PM

: This is not fixed afterall. You should test it locally for the example here: https://h5p.org/node/92143

Done

Details

Assignee

Reporter

Code reviewer

Original estimate

Time tracking

No time logged6h remaining

Fix versions

Sprint

Priority

Created September 6, 2017 at 7:36 AM
Updated November 6, 2017 at 8:24 AM
Resolved November 3, 2017 at 10:06 AM