Skip to content

Commit 73a14a1

Browse files
committed
Adjust sensitivity of modal drag to close
1 parent 8f81b62 commit 73a14a1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • assets/js/dashboard/stats/modals

assets/js/dashboard/stats/modals/modal.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class Modal extends React.Component {
112112
const deltaY = this.lastTouchY - this.touchStartY
113113
this.touchStartY = null
114114
this.lastTouchY = null
115-
if (deltaY > 70) {
115+
if (deltaY > 150) {
116116
this.setState(
117117
{
118118
dragOffset: Math.max(deltaY, window.innerHeight * 0.6),

0 commit comments

Comments
 (0)