### Description 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.
Instead of overflow: hidden, give the iframe display: block to avoid generating an inline block. ### How has this been tested? Manually in Firefox and Chrome. You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/6274 -- Commit Summary -- * Add display:block to the editor iframe -- File Changes -- M app/views/site/_id.html.erb (4) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/6274.patch https://github.com/openstreetmap/openstreetmap-website/pull/6274.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/6274 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/6...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev