mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 00:13:44 +08:00
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
5cd680b0be
commit
415bad645e
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user