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:
Guo Xiang Tan 2017-02-27 11:39:57 +08:00
parent 5cd680b0be
commit 415bad645e

View File

@ -61,6 +61,8 @@
margin-left: 0;
margin-right: 0;
display: table;
touch-action: none;
.timeline-date-wrapper {
float: right;
text-align: right;
@ -191,6 +193,7 @@
margin-left: 3em;
width: 150px;
transition: opacity 0.2s ease-in;
touch-action: none;
.timeline-controls {
margin-bottom: 1em;