amorriscode / amorriscode/use-overflow
Element container resize does not trigger state update
Open
bug
- Dominant language
- JavaScript
- Stars
- 30
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
The overflow state may also change if the element container size changes, without window resize event.
Suggestion: use https://developer.mozilla.org/en-US/docs/Web/API/ResizeObserver instead of window resize listener.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.