Review 11.5 Merged

78556[BUGFIX] Use IntersectionObserver to determine if a tree is visible

Andreas Kienast CR +2 V +2 Easy +20 −18 updated 04/11/23, 08:07

Commit message

The problem with the current implementation is that it does not
consider that a tab may already be active but not visible initially.
In that case the `shown.bs.tab` event is never triggered.

We are moving to an observer that stays active until the element
is visible once, after that the observer for the tree is de-registered.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 4