frontend-collective / frontend-collective/react-sortable-tree

Landing pad not being displayed when tree is not virtualized

Open
#170 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

When dragging nodes around in a non-virtualized tree , the landing pad is not displayed. This behaviour works on virtualized trees. While debugging I found that the issue is caused by this css declaration for the ::before element of the landing pad.

https://github.com/fritz-c/react-sortable-tree/blob/2145c14053ab20df356606d8e7ecb5cd3a868309/src/node-renderer-default.scss#L40

What is the purpose of this declaration?

I replicated this on chrome and firefox.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.