24fe32a973
Bug A1: Gradient never showed because maxLines capped lineCount, making lineCount > maxLines impossible. Fixed by always setting maxLines = Int.MAX_VALUE and using hasVisualOverflow + heightIn(max) for clipped overflow detection. Bug A2: derivedStateOf captured stale val from Detekt refactor (commit1da1a63). Replaced with direct computation. Bug B1: animateItem() on dragged item conflicted with manual offset (from IMPL_017 commit900dad7). Fixed with conditional Modifier: if (!isDragging) Modifier.animateItem() else Modifier. Bug B2: Item size could change during drag. Added size snapshot in DragDropListState.onDragStart for stable endOffset calculation. Files changed: - ChecklistItemRow.kt: hasVisualOverflow, direct lineCount check, maxLines=Int.MAX_VALUE always, heightIn(max=collapsedHeightDp) - NoteEditorScreen.kt: conditional animateItem on isDragging - DragDropListState.kt: draggingItemSize snapshot for stable drag