adopted-ember-addons / adopted-ember-addons/ember-sortable

`align-items: baseline` causes odd behaviour

未關閉
#574 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
299
分支
159
平均合併
4 天 6 小時
30 天內合併 PR
4

描述

**Describe the bug**
When a sortable list has `align-items: baseline` as part of it's CSS, items jump to a different position when dragging begins and jump back when dragging ends.

Also I am seeing behaviour where an item is moved to the beginning of the row when it wasn't interacted with.

**To Reproduce**

Create a sortable flex list in a grid with `align-items: baseline`

**Expected behavior**
Items should remain in their rendered position and move predictably.

**Screenshots**

https://github.com/user-attachments/assets/a3987c1b-d3b3-4b5c-86d8-12f99439e941

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。