clauderic / clauderic/react-sortable-hoc

Centering items in vertical list.

Open
#725 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
10.9k
Forks
959
PR merge metrics
No merged PRs in 30d

Description

I have a component that displays vertical list. This list is centered vertically in div ( via margin:auto). List itself works correctly but when i click on element and try to drag it goes left to side of the div (margin auto stopped working).

What should i do to have element centered after dragging him up or down?

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is named. Reproduce the vertical list with a vertically centered container, drag an item up or down, and trace the component path responsible for its position. Done means the dragged item remains centered within the container after movement.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.