<h3 dir="auto">Description</h3>
<p dir="auto">Pressing the down arrow key will sometimes scroll the parent element of the iframe, since it generates an inline box with some whitespace below. This parent element having overflow: hidden meant that it was impossible to scroll deliberately and I would be stuck with a white gutter on the bottom of the viewport for the remainder of my editing session.</p>
<p dir="auto">Instead of overflow: hidden, give the iframe display: block to avoid generating an inline block.</p>
<h3 dir="auto">How has this been tested?</h3>
<p dir="auto">Manually in Firefox and Chrome.</p>
<hr>
<h4>You can view, comment on, or merge this pull request online at:</h4>
<p> <a href='https://github.com/openstreetmap/openstreetmap-website/pull/6274'>https://github.com/openstreetmap/openstreetmap-website/pull/6274</a></p>
<h4>Commit Summary</h4>
<ul>
<li><a href="https://github.com/openstreetmap/openstreetmap-website/pull/6274/commits/066b49eb037b2f465f4a1e89d22162a4c8c52e89" class="commit-link">066b49e</a> Add display:block to the editor iframe</li>
</ul>
<h4 style="display: inline-block">File Changes </h4> <p style="display: inline-block">(<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6274/files">1 file</a>)</p>
<ul>
<li>
<strong>M</strong>
<a href="https://github.com/openstreetmap/openstreetmap-website/pull/6274/files#diff-6d5e81e3b26c5d4c13ea433e6a8c861e11dd8d21ff46118c0434f428af64b683">app/views/site/_id.html.erb</a>
(4)
</li>
</ul>
<h4>Patch Links:</h4>
<ul>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6274.patch'>https://github.com/openstreetmap/openstreetmap-website/pull/6274.patch</a></li>
<li><a href='https://github.com/openstreetmap/openstreetmap-website/pull/6274.diff'>https://github.com/openstreetmap/openstreetmap-website/pull/6274.diff</a></li>
</ul>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/pull/6274">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLJKFY3GVHL6I5V3D3L3LIMHXAVCNFSM6AAAAACCZ63NXOVHI2DSMVQWIX3LMV43ASLTON2WKOZTGI4DANJSGQYTGMA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLMAMNUPB6MSM3TCYP33LIMHXA5CNFSM6AAAAACCZ63NXOWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHMHCGTMI.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/pull/6274</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/pull/6274",
"url": "https://github.com/openstreetmap/openstreetmap-website/pull/6274",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>