Commit 0d1b201
committed
Fix content jumping on Opera mobile browsers
Add Opera browser detection to scroll restoration logic to fix
content jumping issue when scrolling on Opera on iPhone.
Opera has similar scroll behavior to Safari and needs the same
scroll restoration fix. This sets history.scrollRestoration to
'auto' for Opera browsers, preventing the content jumping issue.
Fixes #77771 parent 55a265c commit 0d1b201
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | | - | |
| 43 | + | |
42 | 44 | | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
0 commit comments