Preserve scroll Y pos when tab hidden (fix #100)
This commit is contained in:
parent
50e125c566
commit
b68624a603
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
@ -10,10 +10,10 @@ if (!document) {
|
|||
webview {
|
||||
position: absolute;
|
||||
visibility: hidden;
|
||||
}
|
||||
webview.visible {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
webview.visible {
|
||||
visibility: visible;
|
||||
}
|
||||
`;
|
||||
|
|
Loading…
Reference in a new issue