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

Activity

Show:
Timothy Lim
November 5, 2017, 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, 6:02 AM

Thank you Timothy and Pål!

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

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

Timothy Lim
November 3, 2017, 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, 3:16 PM

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

Done

Assignee

Timothy Lim

Reporter

Pål Jørgensen

Code reviewer

Pål Jørgensen

Time tracking

0m

Time remaining

6h

Fix versions

Sprint

None