Legend is broken in pedigree editor

Description

Two problems:

1) When dragging, the dragged item is not visible.
This is a regression, e.g. check FSDemo for how it is supposed to look and compare to how it looks now

2) Vertical scrollbar is always visible in the legend, even when it is not needed. Also when dragging an item, horizontal scroll bar sometimes appears as well as vertical scrollbar is sometimes activated.
(drag an item around the bottom right corner of the screen to trigger this)

It is likely is responsible for at least problem #2

Environment

None

Activity

Show:
Marta Girdea
November 22, 2016, 7:42 PM
Edited

is responsible for both. "overflow-y: scroll" on #legend-container causes both issues:

  • The dragged item is not visible because it's inside an element with special overflow

  • The vertical scrollbar always appears because that's exactly what "overflow-y: scroll" does

  • The horizontal scrollbar appears in order to accommodate the new position of the dragged item.

Fixed

Assignee

Marta Girdea

Reporter

Andrew Misyura

Labels