Skip to content

Fix answer option rendering

Christopher Mark Fullarton requested to merge fixAnswerOptionRendering into staging

Still not completely perfect but better than before.

  • Some complex math functions are not rendered. Seems to be a parsing issue somewhere.
  • Complex math in the live results preview is difficult to display. Maybe we need larger progressbars but this would break the layout.
  • Alignment is not always completely centered. Nasty bug in Mathjax which renders the element to display the label even if there is no label. This leads to miscalculation of the width of the text content.

Fixed:

  • Flicker in the preview is reduced
  • Performance is massively increased due the fact that not all elements get parsed anymore but only the largest one. The font size of this element is applied to all voting buttons
  • Bug which could remove the content of an answer option fixed

Merge request reports