Grant Bourque
d657377d1c
Use `document.scrollingElement` for mobile scrolls
...
- Set `document.scrollingElement` as the scrolling element
for scrolling to anchors when the app is mobile mode
to enhance support in newer browsers.
The CSS View Module spec considers `document.documentElement`/`<html>`
to be the standard scrolling element
and that is what appears to be used in the latest Firefox and Chrome.
However, some older browsers and even the current Safari
use `document.body` as the scrolling element
which is why I suspect the original code used `document.body`.
Since some browsers scroll on different elements,
`document.scrollingElement` exists
so the browser can tell us what to use
for scrolling to anchors work for all modern browsers.
Since `document.scrollingElement` is undefined in older browsers,
`document.body` is available as fallback mobile scrolling element.
7 years ago
Thibaut Courouble
a379b6299d
Ask all HTTP users to switch to HTTPS
7 years ago
Thibaut Courouble
cbfc73951b
Improve Help page
...
Closes #676 .
7 years ago
Thibaut Courouble
9cce390ead
Fix alt+o shortcut not preventing default in Firefox
7 years ago
Thibaut Courouble
44e6316100
Add ability export/import preferences
...
Closes #671 .
7 years ago
Thibaut Courouble
64f04305d3
Replace all remaining PNG UI icons with SVGs
7 years ago
Thibaut Courouble
30dd32c1b5
Normalize event.target for old browsers incorrectly handling SVG elements
7 years ago
Thibaut Courouble
d7001c2eb5
Optimize DOM query selectors
8 years ago
Thibaut Courouble
f891e16f39
Optimize scrolling code during page transitions
8 years ago
Thibaut Courouble
170445c95f
Add setting to force native scrollbars on webkit/blink
...
Closes #601 .
8 years ago
Thibaut Courouble
c06d1c4d2d
Move the app layout class to the <body> element
8 years ago
Thibaut Courouble
dcca46cd0f
Fix race-condition when auto-opening first search result
...
Fixes #604 .
8 years ago
Thibaut Courouble
4f62ccbdbf
Fix various issues when switching from single doc to full app
8 years ago
Thibaut Courouble
188c9d0229
Improve $.scrollTo
...
- Fixes #596 .
- Fixes incorrect sidebar scrolling when sidebar has padding-top.
8 years ago
Thibaut Courouble
d63aadb27e
Improve IndexedDB error handling
8 years ago
Thibaut Courouble
78213d015c
Tweak offline page
8 years ago
Thibaut Courouble
4984f0064f
Add setting for swapping arrow keys behavior
...
Closes #296 .
8 years ago
Thibaut Courouble
71a3c31145
Add setting to disable smooth scrolling
8 years ago
Thibaut Courouble
e94af979d9
Add settings page
8 years ago
Thibaut Courouble
0f238609da
UI improvements
8 years ago
Thibaut Courouble
2f19cf9664
Add keyboard shortcut for opening original page
...
Closes #510 .
8 years ago
Thibaut Courouble
8c830f5790
Don't override default behavior of home/end keys when search field has focus
...
Closes #504 .
8 years ago
Thibaut Courouble
9612016351
Load MathML polyfill stylesheet only when needed
8 years ago
Thibaut Courouble
3eb5a0caaa
Better error handling when cookies are disabled
8 years ago
Thibaut Courouble
ebdfd4ea23
Avoid calling scrollToTarget twice when rendering entry pages
9 years ago
Thibaut Courouble
8d7b2029b8
Show progress percentage when installing docs
...
Closes #449 .
9 years ago
Thibaut Courouble
af8998453a
Performance improvements when rendering pages
9 years ago
Thibaut Courouble
388023ba05
Smooth scrolling when using keyboard shortcuts
...
Closes #328 .
9 years ago
Thibaut Courouble
4b26951ff0
Store settings in cookies instead of localStorage
9 years ago
Thibaut Courouble
39cc1d3cba
Force IDB schema upgrade before installing/uninstalling all docs
9 years ago
Thibaut Courouble
2e915c135a
Improve performance of EntryPage#render
9 years ago
Thibaut Courouble
c2ff01d73f
Warn Android WebView users about bugs + unofficial app
...
Rel: #388
9 years ago
Thibaut Courouble
4edefc7a8c
Make copy-to-clipboard links not tabbable/focusable
9 years ago
Thibaut Courouble
e6c7949b96
Fix alt+f shortcut when there are empty links on the page
9 years ago
Thibaut Courouble
ed2806499e
Improve EntryPage#subViewClass
9 years ago
Thibaut Courouble
9c53ba1d4e
Fix CSS conflict on certain error pages
9 years ago
Thibaut Courouble
5015405e7c
Use doc full name (incl. version) throughout the app
...
Ref #25 .
9 years ago
Thibaut
51895e9889
Speed up rendering of entry pages
9 years ago
Thibaut
dbc628cebd
Speed up re-rendering pages from cache
9 years ago
Thibaut
a37e9d87cf
Add "Copy to clipboard" icon inside each code block
...
Closes #253 .
9 years ago
Thibaut
1252b36a1c
Improve offline mode error page
10 years ago
Thibaut
fb7c3a9227
Tweak page titles
10 years ago
Thibaut
9cd5f20a48
Fix entry page error
10 years ago
Thibaut
07e2007374
Fix race-condition when loading entry pages
10 years ago
Thibaut
b29d6ca002
Move doc links to manifest
10 years ago
Thibaut
cf04efe78c
Fix exception in OfflinePage#onInstallSuccess
10 years ago
Thibaut
7fa75e795e
Fix instance variable assignment
10 years ago
Thibaut
83681cb96c
Avoid double element look-up
10 years ago
Thibaut
8ec7c85dd4
Fix race condition on offline page
10 years ago
Thibaut
16486ff467
Force page reload when loading offline page in single doc mode
10 years ago