python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How can I see what triggered a ResizeObserverCallback?
I'm running into a recursive loop with a ResizeObserver, where something inside the observed container is changing the size of the container on re-render, which causes the ResizeObserver to re-trigger...
James
Votes: 0
Answers: 0
Problem with resizeObserver, React and probably re-render issue (not yet identified)
I've got a problem in my application. I've made a component that wrap a children and display a "Show more/less" around it. It accepts an initialHeight and a MaxHeight which are 2 numbers, th...

Touk
Votes: 0
Answers: 0
A strange interaction between canvas, ResizeObserver and FlexBox
I am trying to get a self-resizing canvas following the recipe here (end of section 4, under "What to do instead"). So I have a ResizeObserver hooked up to watch for changes on my canvas ele...
Jack M
Votes: 0
Answers: 1
ResizeObserver not being triggered when content height changes (React)
It works when I manually resize the window, but not when the content height changes which is what I need.
Am I doing something wrong?
class MainContainer extends React.Component {
constructor(props)...

Nikk
Votes: 0
Answers: 2