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.

@DarkGenius DarkGenius merged commit 72ff021 into gravity-ui:main Sep 29, 2025
5 checks passed
kkirik pushed a commit that referenced this pull request Nov 4, 2025
DarkGenius added a commit that referenced this pull request Nov 26, 2025
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.

3 participants