Skip to content

Commit

Permalink
Fix scrolling on iOS 11 and 12
Browse files Browse the repository at this point in the history
When you tried to scroll it would scroll the x-screen element of hterm
instead of the ScrollbarView. Fix this by adding overflow: hidden to
the x-screen. Everything else seems to work fine.

Fixed ish-app#596
  • Loading branch information
tbodt committed Jun 27, 2020
1 parent 930e0cc commit 7d3dcfb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/terminal/term.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ lib.init(function() {
var termCss = `
x-screen {
background: transparent !important;
}
x-screen::-webkit-scrollbar {
display: none;
overflow: hidden !important;
-webkit-tap-highlight-color: transparent;
}
x-row {
text-rendering: optimizeLegibility;
Expand Down

0 comments on commit 7d3dcfb

Please sign in to comment.