mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-12 16:52:50 +00:00
Fix broken text entry in background offset input on touch devices
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user