Improve RDM handling of meta viewport
Categories
(DevTools :: Responsive Design Mode, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: mbalfanz, Assigned: bradwerth)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
804.55 KB,
video/mp4
|
Details |
Without full page refreshes RDM (with touch simulation) can behave in odd ways.
Attached is a video where RDM leaves scrollbars in the middle of the page after disabling it.
Even though there is a setting to refresh the page when touch simulation is toggled or the user agent changes, this page refresh does not happen on closing RDM.
The site I'm using here is google.com, which set's <meta content="width=device-width,minimum-scale=1.0" name="viewport">
for touch devices.
2 problems I see:
- RDM only functions as expected when the page is refreshed after entering it
- Closing RDM needs another page refresh to make the page behave normally
At a minimum, I think we need to have a page refresh when closing RDM and either of the two options is enabled.
Thinking it through though, I would love for us to have a way to handle those situations without a page refresh. It would be great for the changes panel, and Chrome can also do without it. A refresh should be the very last resort.
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Once Bug 1521814 lands, this issue will need the pref dom.meta-viewport.enabled set to true in order to properly test it.
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Brad Werth [:bradwerth] from comment #1)
Once Bug 1521814 lands, this issue will need the pref dom.meta-viewport.enabled set to true in order to properly test it.
Update: the relevant pref is devtools.responsive.metaViewport.enabled.
Assignee | ||
Comment 3•6 years ago
|
||
This was likely fixed by Bug 1501665. Would you please retest in Nightly?
Reporter | ||
Updated•6 years ago
|
Description
•