Fix broken text entry in background offset input on touch devices

This commit is contained in:
Quincy Morgan
2020-06-25 11:56:17 -04:00
parent ae5bab86f1
commit a126437a38
2 changed files with 2 additions and 4 deletions

View File

@@ -3614,6 +3614,8 @@ li.issue-fix-item:not(.actionable) .fix-icon {
margin: 0 auto;
margin-top: 20px;
cursor: move;
/* prevent scrolling pane while dragging on touchscreen */
touch-action: none;
}
.nudge-container .nudge-inner-rect {

View File

@@ -166,10 +166,6 @@ export function uiSectionBackgroundOffset(context) {
var nudgeEnter = containerEnter
.append('div')
.attr('class', 'nudge-outer-rect')
.on('touchstart touchmove touchend', function() {
// prevent scrolling while dragging
d3_event.preventDefault();
})
.on(_pointerPrefix + 'down', dragOffset);
nudgeEnter