Skip to content

Bug: Parent rectangles disappear when clicking very short intervals  #7

@JulesBlm

Description

@JulesBlm

When clicking very short intervals like the Holocene (0.0117 ma) or any of its child intervals (Greenlandian, Northgrippian, or Meghalayan), causes the the rectangles of the two top level parents (Geologic Time & Phanerozoic) to be positioned incorrectly.

I've posted a question about this bug on the: Observable forum and it was suggested by user 'mootari' that it might be due to precision problems (ie numerical instabilities). When the transition is slowed down – as suggested by mootari – the "Geologic Time" label noticeably starts shaking when clicking shorter intervals (f.e. Late Pleistocene) and in the case of Holocene and child intervals, the parent rectangles disappear after some time. This is especially apparent when the transition duration is increased.

I've made a debug notebook on Observable which reveals that the incorrect placement occurs somewhere halfway in the transition and that it affects all level 1 label placements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions