FIX: Mobile topic timeline broken on Chrome 56.
* See https://developers.google.com/web/updates/2017/01/scrolling-intervention. From Chrome 56 onwards, `touchstart` event listeners are treated as passive by default which does not call `preventDefault` resulting in the page scrolling when topic timeline handle is being dragged.
This commit is contained in:
parent
7e8f0dc967
commit
758e3e52f7
|
@ -61,6 +61,8 @@
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
display: table;
|
display: table;
|
||||||
|
touch-action: none;
|
||||||
|
|
||||||
.timeline-date-wrapper {
|
.timeline-date-wrapper {
|
||||||
float: right;
|
float: right;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
@ -191,6 +193,7 @@
|
||||||
margin-left: 3em;
|
margin-left: 3em;
|
||||||
width: 150px;
|
width: 150px;
|
||||||
transition: opacity 0.2s ease-in;
|
transition: opacity 0.2s ease-in;
|
||||||
|
touch-action: none;
|
||||||
|
|
||||||
.timeline-controls {
|
.timeline-controls {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
|
|
Loading…
Reference in New Issue