Open Bug 1622015 Opened 4 years ago Updated 1 year ago

Investigate removing the resize observer

Categories

(DevTools :: Responsive Design Mode, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: ntim, Unassigned)

References

(Blocks 1 open bug)

Details

The new RDM seems to use resizeObserver here to set the width and height: https://searchfox.org/mozilla-central/rev/278046367dab878316f60f0bd7f740cf73f3c447/devtools/client/responsive/ui.js#319-348

This could potentially be removed by using position: sticky (it's worth trying at least :) ).

Thanks for filing Tim! I'd also like to use this issue to investigate removing the use of the ResizeObserver setting a width on the toolbar.

Priority: -- → P3
Summary: Try using `position: sticky` for `#rdm-toolbar` → Investigate removing the resize observer
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.