• Steven's avatar
    fix(web): correct task checkbox toggling in multi-section memos · d30ff289
    Steven authored
    Fixed a bug where clicking checkboxes in task lists would toggle the wrong
    checkbox when a memo contained multiple sections with separate task lists.
    
    The issue was that TaskListItem was counting tasks only within the immediate
    parent list (ul/ol), but the toggleTaskAtIndex function counts all tasks
    globally across the entire memo. This caused index misalignment.
    
    Changes:
    - Add containerRef to MemoContentContext for proper task scoping
    - Pass memoContentContainerRef through context in MemoContent component
    - Update TaskListItem to count all tasks within the container scope
    
    This ensures task indices are calculated consistently with the markdown
    manipulation logic, fixing checkbox toggling in complex multi-section memos.
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    d30ff289
Name
Last commit
Last update
..
components Loading commit data...
helpers Loading commit data...
hooks Loading commit data...
layouts Loading commit data...
lib Loading commit data...
locales Loading commit data...
pages Loading commit data...
router Loading commit data...
store Loading commit data...
themes Loading commit data...
types Loading commit data...
utils Loading commit data...
App.tsx Loading commit data...
grpcweb.ts Loading commit data...
i18n.ts Loading commit data...
index.css Loading commit data...
main.tsx Loading commit data...