-
Notifications
You must be signed in to change notification settings - Fork 1
Auto resizing does not work in Learning Analytics apps #254
Comments
@sten After some more tests, it looks like the last version of the online users gadget doesn't always resize well. Although sometimes it does, which doesn't help much to determine if it is fixed or not. I'll have a look. |
From my personal experience with the notorious adjustHeight function, it is important not too call it too early and often. It is an expensive operation that involves RPC. So try to call it once you are sure about the size of the gadget and do not connect in on load on any resize event. maybe this helps. |
Thanks for the tips. A first solution that seems to work is simply wait for 5 seconds before calling |
@davidsandoz could you submit a fix with the delay, maybe you should put it onload? |
@davidsandoz We just have a session tomorrow, so if you have an opportunity to submit a quick fix, that would be great. |
The following learning analytics widgets do not properly resize to their requested height:
http://www.golabz.eu/apps/student-time-spent
http://www.golabz.eu/apps/online-users-visualisation
I have tried it on Safari, Chrome and Firefox (Mac). @davidsandoz can you fix this?
The text was updated successfully, but these errors were encountered: