Skip to content

Conversation

DarkGenius
Copy link
Collaborator

@DarkGenius DarkGenius commented Aug 24, 2025

Summary

  • ensure ResizeObserver is disconnected and debounced callback cancelled in useOverflowingHorizontalListItems

Testing

  • npm test
  • npm run lint:js

https://chatgpt.com/s/cd_68ab477293d081918541317bf42bb49b

Summary by CodeRabbit

  • New Features
    • No user-facing features added.
  • Bug Fixes
    • Prevented rare initialization errors when the footer menu isn’t present.
    • Ensured width updates only occur when the element exists, avoiding null access.
  • Refactor
    • Improved cleanup of observers and debounced handlers to reduce potential leaks and stabilize behavior.
  • Tests
    • No changes.
  • Documentation
    • No changes.

@DarkGenius DarkGenius added the codex Contains code generated by ChatGPT Codex label Aug 24, 2025
@gravity-ui-bot
Copy link
Contributor

Preview is ready.

@gravity-ui-bot
Copy link
Contributor

Playwright Test Component is ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codex Contains code generated by ChatGPT Codex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants